that was wrong, oops
This commit is contained in:
parent
38214f9d8a
commit
a55ba70fdc
@ -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 () {
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user