From f0c83b428016ccec64dfc4a1eab688387bfa0255 Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Sat, 25 Nov 2023 00:15:03 +0100 Subject: [PATCH] =?UTF-8?q?Changement=20du=20port=20par=20d=C3=A9faut=20et?= =?UTF-8?q?=20du=20nom=20du=20fichier=20principal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- app.js => wishlist.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename app.js => wishlist.js (98%) 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") });