URL redirection
Is there a way to redirect from one URL to another ?
Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord
@MohamedGouaouri Maybe you're looking for:
https://github.com/gofiber/redirect For Redirect
Something like this?
app.Get("/coffee", func(c *fiber.Ctx) error {
return c.Redirect("/teapot")
})
app.Get("/teapot", func(c *fiber.Ctx) error {
return c.Status(fiber.StatusTeapot).Send("馃嵉 short and stout 馃嵉")
})