that was wrong, oops
This commit is contained in:
parent
38214f9d8a
commit
a55ba70fdc
@ -12,7 +12,8 @@ Logger.initialize()
|
|||||||
|
|
||||||
const args = {
|
const args = {
|
||||||
dev: process.env.NODE_ENV !== 'production',
|
dev: process.env.NODE_ENV !== 'production',
|
||||||
port: config.server.port
|
port: config.server.port,
|
||||||
|
host: config.server.host || 'localhost'
|
||||||
}
|
}
|
||||||
|
|
||||||
function spawnWorkers () {
|
function spawnWorkers () {
|
||||||
|
@ -91,9 +91,8 @@ module.exports = (args) => {
|
|||||||
|
|
||||||
app.use(routes)
|
app.use(routes)
|
||||||
|
|
||||||
const host = args.host || 'localhost'
|
app.listen(args.port, args.host, () => {
|
||||||
app.listen(args.port, host, () => {
|
console.log('Listening on %s:%s', args.host, args.port)
|
||||||
console.log('Listening on %s:%s', host, args.port)
|
|
||||||
|
|
||||||
// Initialize the email transporter (if configured)
|
// Initialize the email transporter (if configured)
|
||||||
initEmail()
|
initEmail()
|
||||||
|
Reference in New Issue
Block a user