that was wrong, oops

This commit is contained in:
Evert Prants 2021-02-22 20:31:16 +02:00
parent 38214f9d8a
commit a55ba70fdc
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,8 @@ Logger.initialize()
const args = {
dev: process.env.NODE_ENV !== 'production',
port: config.server.port
port: config.server.port,
host: config.server.host || 'localhost'
}
function spawnWorkers () {

View File

@ -91,9 +91,8 @@ module.exports = (args) => {
app.use(routes)
const host = args.host || 'localhost'
app.listen(args.port, host, () => {
console.log('Listening on %s:%s', host, args.port)
app.listen(args.port, args.host, () => {
console.log('Listening on %s:%s', args.host, args.port)
// Initialize the email transporter (if configured)
initEmail()