Update index.js

This commit is contained in:
Sumana2410 2024-12-11 00:31:14 +05:30 committed by GitHub
parent f2d13b8483
commit e2b49cc8a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ app.put('/items/:id', updateItem);
app.delete('/items/:id', deleteItem); app.delete('/items/:id', deleteItem);
db.init().then(() => { db.init().then(() => {
app.listen(3000, () => console.log('Listening on port 3000')); app.listen(3000, () => console.log('Listening11 on port 3000'));
}).catch((err) => { }).catch((err) => {
console.error(err); console.error(err);
process.exit(1); process.exit(1);