From fb4f64119727b21491631c3b4bef2c16d7a2de99 Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Tue, 10 Jun 2025 18:59:18 +0200 Subject: [PATCH] - --- backend/views/addRecipe/addRecipe.js => addRecipe.js | 0 backend/routes/recipes.js | 1 + 2 files changed, 1 insertion(+) rename backend/views/addRecipe/addRecipe.js => addRecipe.js (100%) diff --git a/backend/views/addRecipe/addRecipe.js b/addRecipe.js similarity index 100% rename from backend/views/addRecipe/addRecipe.js rename to addRecipe.js diff --git a/backend/routes/recipes.js b/backend/routes/recipes.js index d6e32a2..f865671 100644 --- a/backend/routes/recipes.js +++ b/backend/routes/recipes.js @@ -3,6 +3,7 @@ const router = express.Router(); router.get("/", (req, res) => { res.send("Enter a recipe name in the url!"); + res.status(404); }); router.get("/:id", (req, res) => {