Changement du port par défaut et du nom du fichier principal

This commit is contained in:
2023-11-25 00:15:03 +01:00
parent acb38a1dd4
commit f0c83b4280
2 changed files with 4 additions and 4 deletions

View File

@@ -2,10 +2,10 @@
"name": "wishlist", "name": "wishlist",
"version": "1.0.0", "version": "1.0.0",
"description": "test", "description": "test",
"main": "app.js", "main": "wishlist.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon app.js" "start": "nodemon wishlist.js"
}, },
"author": "Laurent LE CORRE", "author": "Laurent LE CORRE",
"license": "ISC", "license": "ISC",

View File

@@ -126,6 +126,6 @@ app.post("/confirm-reservation", (req, res) => {
}); });
app.listen(5006, ()=> { app.listen(5008, ()=> {
console.log("server started on port 5006") console.log("server started on port 5008")
}); });