Listen only on localhost.

esisar-restrictions
Simon Vareille 2020-02-15 16:02:29 +01:00
parent b66531d19d
commit c70e35b018
No known key found for this signature in database
GPG Key ID: 008AE8E706CC19F9
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const init = require('./app');
(async () => {
try {
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}`);
} catch (err) {
log.error('app', 'Initialization failed!', err);