UNTESTED: Added database port as a configurable option
Also updated license field in package.json
This commit is contained in:
@@ -42,4 +42,5 @@ app.get('*', (req, res) => {
|
||||
server.listen(process.env.WEB_PORT || 3000, async (err) => {
|
||||
await database.sync();
|
||||
console.log(`listening to localhost:${process.env.WEB_PORT || 3000}`);
|
||||
console.log(`database located at ${process.env.DB_HOSTNAME || '<default>'}:${process.env.DB_PORTNAME || '<default>'}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user