added "version" endpoint

This commit is contained in:
2023-08-14 08:00:27 -03:00
parent ee69d3332f
commit df286787ba
+1 -1
View File
@@ -15,7 +15,7 @@ func main() {
AllowMethods: "GET,POST,HEAD,PUT,DELETE,PATCH,OPTIONS",
}))
app.Get("/", func(c *fiber.Ctx) error {
app.Get("/version", func(c *fiber.Ctx) error {
return c.SendString("1.0.0")
})