add server listening message and remove unnecessary package
This commit is contained in:
parent
c589ed9143
commit
f9c61444b4
2 changed files with 3 additions and 2 deletions
4
index.js
4
index.js
|
@ -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}`);
|
||||||
|
});
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue