feat 添加健康检测
All checks were successful
Build image / build (push) Successful in 1m11s

This commit is contained in:
timerzz 2024-05-12 16:45:40 +08:00
parent 4ce21e2602
commit e330d92cd2

View File

@ -45,7 +45,7 @@ func main() {
r.Use(cors.New()) r.Use(cors.New())
r.Get("/health", func(ctx fiber.Ctx) error { r.Get("/health", func(ctx fiber.Ctx) error {
return nil return ctx.SendString("ok")
}) })
api := r.Group("/api/v1") api := r.Group("/api/v1")