Minor change for startup
This commit is contained in:
parent
762d0aff2f
commit
76c79462be
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
"start": "node ./dist/bin/www",
|
||||
"lint": "npx eslint ./src --ext .js",
|
||||
"lint:fix": "npx eslint --fix ./src --ext .js",
|
||||
"prepare": "husky install"
|
||||
"prepare": "npx husky install"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -13,7 +13,7 @@ import passportConfig from './libs/passport';
|
|||
import globalRoutes from './routes';
|
||||
import authRoutes from './routes/auth';
|
||||
|
||||
import {trustProxy, env, mongoDbUri, secret} from './config';
|
||||
import {trustProxy, env, mongoDbUri, secret, port} from './config';
|
||||
|
||||
import {isXhr, getBaseUrl} from './helpers';
|
||||
|
||||
|
@ -120,6 +120,6 @@ app.use((error, req, res, next) => {
|
|||
}
|
||||
});
|
||||
|
||||
console.log('Server ready!');
|
||||
console.log(`Server ready and listening on port ${port}!`);
|
||||
|
||||
export default app;
|
||||
|
|
Loading…
Reference in a new issue