mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
set NODE_TLS_REJECT_UNAUTHORIZED to 0 for testing
allows us to talk to staging sixpack
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user