ping pong funny

This commit is contained in:
Lewis Crichton
2023-04-07 18:26:23 +01:00
parent e0c51f4286
commit bcb3e23d59
+3 -1
View File
@@ -311,7 +311,9 @@ func main() {
// #endregion // #endregion
app.Get("/v1", func(c *fiber.Ctx) error { app.Get("/v1", func(c *fiber.Ctx) error {
return c.Redirect(ROOT_REDIRECT, 303) return c.JSON(&fiber.Map{
"ping": "pong",
})
}) })
app.Get("/", func(c *fiber.Ctx) error { app.Get("/", func(c *fiber.Ctx) error {