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:23 +10:00
parent 3700372e92
commit 9db6dbf63b
6 changed files with 30 additions and 7 deletions
+1
View File
@@ -39,4 +39,5 @@ app.get('*', (req, res) => {
server.listen(process.env.WEB_PORT || 3300, async (err) => {
await database.sync();
console.log(`listening to localhost:${process.env.WEB_PORT || 3300}`);
console.log(`database located at ${process.env.DB_HOSTNAME || '<default>'}:${process.env.DB_PORTNAME || '<default>'}`);
});