Listen only on localhost.
This commit is contained in:
@@ -24,7 +24,7 @@ const init = require('./app');
|
|||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
const app = await init();
|
const app = await init();
|
||||||
app.listen(config.server.port);
|
app.listen(config.server.port, "localhost");
|
||||||
log.info('app', `Listening on http://localhost:${config.server.port}`);
|
log.info('app', `Listening on http://localhost:${config.server.port}`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
log.error('app', 'Initialization failed!', err);
|
log.error('app', 'Initialization failed!', err);
|
||||||
|
|||||||
Reference in New Issue
Block a user