Преглед изворни кода

services/filestore: should be aware of LISTEN_ADDRESS

Signed-off-by: Zhang Zongyu <zongyu@novazy.net>
Zhang Zongyu пре 5 година
родитељ
комит
c3509b78cf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/filestore/app.js

+ 1 - 1
services/filestore/app.js

@@ -136,7 +136,7 @@ app.get('/health_check', healthCheckController.check)
 app.use(RequestLogger.errorHandler)
 
 const port = settings.internal.filestore.port || 3009
-const host = '0.0.0.0'
+const host = settings.internal.filestore.host || '0.0.0.0'
 
 if (!module.parent) {
   // Called directly