UNTESTED: Added database port as a configurable option

Also updated license field in package.json
This commit is contained in:
2024-04-15 21:03:16 +10:00
parent eb64f6c2e7
commit 0ce2a552d8
6 changed files with 39 additions and 10 deletions
+1
View File
@@ -41,4 +41,5 @@ app.get('*', (req, res) => {
server.listen(process.env.WEB_PORT || 3200, async (err) => {
await database.sync();
console.log(`listening to localhost:${process.env.WEB_PORT || 3200}`);
console.log(`database located at ${process.env.DB_HOSTNAME || '<default>'}:${process.env.DB_PORTNAME || '<default>'}`);
});