diff --git a/routes/routes.go b/routes/routes.go index 1f5f591..7f6fca6 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -66,4 +66,9 @@ func Setup(app *fiber.App) { app.Post(routerPrefix+"/admin/updateLockerCombo", controllers.UpdateLockerCombo) app.Post(routerPrefix+"/admin/renableStudent", controllers.RemoveStudentsDisabled) app.Post(routerPrefix+"/admin/renableTeacher", controllers.RemoveTeachersDisabled) + + // 404 Handler + app.Use(func(c *fiber.Ctx) error { + return c.SendStatus(404) // => 404 "Not Found" + }) }