diff --git a/package.json b/package.json index 281b1ef..6e2889c 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,10 @@ "name": "wishlist", "version": "1.0.0", "description": "test", - "main": "app.js", + "main": "wishlist.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "nodemon app.js" + "start": "nodemon wishlist.js" }, "author": "Laurent LE CORRE", "license": "ISC", diff --git a/app.js b/wishlist.js similarity index 98% rename from app.js rename to wishlist.js index 2a30ba9..3da1056 100644 --- a/app.js +++ b/wishlist.js @@ -126,6 +126,6 @@ app.post("/confirm-reservation", (req, res) => { }); -app.listen(5006, ()=> { - console.log("server started on port 5006") +app.listen(5008, ()=> { + console.log("server started on port 5008") });