Readme update

This commit is contained in:
KGrzeg 2021-10-18 03:09:28 +02:00
parent f5380927fd
commit 89e2f52063
9 changed files with 60 additions and 148 deletions

View file

@ -110,4 +110,8 @@ app.use(function (err, req, res, next) {
});
await db.read()
app.listen(3000)
const port = process.env.PORT || 3000
app.listen(port, () => {
console.log(`Server listening on port ${port}!`);
})