From 821ed7aa02c82259d77b028252194f17146a6cd3 Mon Sep 17 00:00:00 2001 From: knock <116096166+knockknock10@users.noreply.github.com> Date: Sat, 10 Jan 2026 13:53:59 +0530 Subject: [PATCH 01/17] Change root route to redirect to '/listings' Redirect root route to '/listings' instead of sending a message. --- app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 916bdaa..0d40ac0 100644 --- a/app.js +++ b/app.js @@ -107,9 +107,10 @@ app.use("/", userRouter); -// app.get("/", (req, res) => { -// res.send("hi i am Root"); -// }); +app.get('/', (req, res) => { + res.redirect('/listings'); +}); + // error handling app.all(/.*/, (req, res, next) => { From b1be9623adace6c60eb696e1c459541c35230e6f Mon Sep 17 00:00:00 2001 From: Sanjeev Kumar Date: Mon, 12 Jan 2026 11:14:10 +0530 Subject: [PATCH 02/17] Fixed the allowded format --- cloudconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudconfig.js b/cloudconfig.js index 40991d5..a11d772 100644 --- a/cloudconfig.js +++ b/cloudconfig.js @@ -13,7 +13,7 @@ const storage = new CloudinaryStorage({ cloudinary: cloudinary, params: { folder: 'proj_dev', - allowdFormats: ["png","jpg","jpeg"], // supports promises as well + allowedFormats: ["png","jpg","jpeg"], // supports promises as well }, }); From 0bbbf5172bdbf24279ac1fb4ffffe16611758909 Mon Sep 17 00:00:00 2001 From: Sanjeev Kumar Date: Mon, 12 Jan 2026 15:27:42 +0530 Subject: [PATCH 03/17] Changed the title --- views/includes/navbar.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/includes/navbar.ejs b/views/includes/navbar.ejs index 2ebeb61..c43fb55 100644 --- a/views/includes/navbar.ejs +++ b/views/includes/navbar.ejs @@ -43,7 +43,7 @@