add server listening message and remove unnecessary package

This commit is contained in:
hippoz 2020-10-02 23:18:53 +03:00
parent c589ed9143
commit f9c61444b4
2 changed files with 3 additions and 2 deletions

View file

@ -101,4 +101,6 @@ app.post('/api/upload', (req, res) => {
}); });
}); });
app.listen(config.server.port); app.listen(config.server.port, () => {
console.log(`Started server on port ${config.server.port}`);
});

View file

@ -14,7 +14,6 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"cors": "^2.8.5",
"ejs": "^3.1.5", "ejs": "^3.1.5",
"express": "^4.17.1", "express": "^4.17.1",
"express-fileupload": "^1.2.0", "express-fileupload": "^1.2.0",