mirror of
https://github.com/docker/getting-started-app.git
synced 2024-12-22 15:20:51 -05:00
Update index.js
This commit is contained in:
parent
f2d13b8483
commit
e2b49cc8a3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user