Просмотр исходного кода

Merge branch 'master' into ho-dockerise

Henry Oswald 8 лет назад
Родитель
Сommit
d97ccc6e07
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      services/clsi/config/settings.defaults.coffee
  2. 1 1
      services/clsi/package.json

+ 2 - 2
services/clsi/config/settings.defaults.coffee

@@ -19,7 +19,8 @@ module.exports =
 	internal:
 	internal:
 		clsi:
 		clsi:
 			port: 3013
 			port: 3013
-			host: process.env["LISTEN_ADDRESS"] or "0.0.0.0"
+			host: process.env["LISTEN_ADDRESS"] or "localhost"
+
 	apis:
 	apis:
 		clsi:
 		clsi:
 			url: "http://#{process.env['CLSI_HOST'] or 'localhost'}:3013"
 			url: "http://#{process.env['CLSI_HOST'] or 'localhost'}:3013"
@@ -44,5 +45,4 @@ if process.env["COMMAND_RUNNER"]
 	
 	
 	module.exports.path.sandboxedCompilesHostDir = process.env["COMPILES_HOST_DIR"]
 	module.exports.path.sandboxedCompilesHostDir = process.env["COMPILES_HOST_DIR"]
 
 
-	#TODO this can be deleted once module is merged in
 	module.exports.path.synctexBinHostPath = process.env["SYNCTEX_BIN_HOST_PATH"]
 	module.exports.path.synctexBinHostPath = process.env["SYNCTEX_BIN_HOST_PATH"]

+ 1 - 1
services/clsi/package.json

@@ -24,7 +24,7 @@
     "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests", 
     "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests", 
     "nodemon": "nodemon --config nodemon.json"
     "nodemon": "nodemon --config nodemon.json"
   }, 
   }, 
-  "author": "James Allen <james@sharelatex.com>", 
+  "author": "James Allen <james@sharelatex.com>",
   "dependencies": {
   "dependencies": {
     "async": "0.2.9", 
     "async": "0.2.9", 
     "body-parser": "^1.2.0", 
     "body-parser": "^1.2.0",