mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
set NODE_TLS_REJECT_UNAUTHORIZED to 0 for testing
allows us to talk to staging sixpack
This commit is contained in:
parent
8a6c3b5838
commit
49e6f4db87
2 changed files with 10 additions and 2 deletions
|
@ -12,6 +12,8 @@ module.exports = (grunt) ->
|
|||
grunt.loadNpmTasks 'grunt-sed'
|
||||
grunt.loadNpmTasks 'grunt-git-rev-parse'
|
||||
grunt.loadNpmTasks 'grunt-file-append'
|
||||
grunt.loadNpmTasks 'grunt-file-append'
|
||||
grunt.loadNpmTasks 'grunt-env'
|
||||
|
||||
config =
|
||||
execute:
|
||||
|
@ -74,6 +76,11 @@ module.exports = (grunt) ->
|
|||
files:
|
||||
"public/stylesheets/style.css": "public/stylesheets/style.less"
|
||||
|
||||
env:
|
||||
run:
|
||||
add:
|
||||
NODE_TLS_REJECT_UNAUTHORIZED:0
|
||||
|
||||
requirejs:
|
||||
compile:
|
||||
options:
|
||||
|
@ -294,7 +301,7 @@ module.exports = (grunt) ->
|
|||
|
||||
grunt.registerTask 'test:modules:unit', 'Run the unit tests for the modules', ['compile:modules:server', 'compile:modules:unit_tests'].concat(moduleUnitTestTasks)
|
||||
|
||||
grunt.registerTask 'run', "Compile and run the web-sharelatex server", ['compile', 'bunyan', 'execute']
|
||||
grunt.registerTask 'run', "Compile and run the web-sharelatex server", ['compile', 'bunyan', 'env:run', 'execute']
|
||||
grunt.registerTask 'default', 'run'
|
||||
|
||||
grunt.registerTask 'version', "Write the version number into sentry.jade", ['git-rev-parse', 'sed']
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
"grunt-sed": "^0.1.1",
|
||||
"sandboxed-module": "0.2.0",
|
||||
"sinon": "",
|
||||
"timekeeper": ""
|
||||
"timekeeper": "",
|
||||
"grunt-env":"0.4.4"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue