init
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
|||||||
func NotFoundRoute(app *fiber.App) {
|
func NotFoundRoute(app *fiber.App) {
|
||||||
app.Use(
|
app.Use(
|
||||||
func(c fiber.Ctx) error {
|
func(c fiber.Ctx) error {
|
||||||
return c.Status(fiber.StatusOK).JSON(response.CommonResponse{
|
return c.Status(fiber.StatusNotFound).JSON(response.CommonResponse{
|
||||||
Status: false,
|
Status: false,
|
||||||
Message: "sorry, endpoint is not found",
|
Message: "sorry, endpoint is not found",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user