services/filestore: should be aware of LISTEN_ADDRESS

Signed-off-by: Zhang Zongyu <zongyu@novazy.net>
This commit is contained in:
Zhang Zongyu 2021-08-27 14:19:14 +08:00
parent 844f92b8c1
commit c3509b78cf

View file

@ -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