Changement du port par défaut et du nom du fichier principal
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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")
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user