From 4ce21e26029a6dfe25361eb7f9f85243ab0e0b25 Mon Sep 17 00:00:00 2001 From: timerzz Date: Sun, 12 May 2024 16:44:33 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0=E5=81=A5=E5=BA=B7?= =?UTF-8?q?=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/main.go b/main/main.go index b1c21c5..2e6c8c6 100644 --- a/main/main.go +++ b/main/main.go @@ -44,6 +44,10 @@ func main() { r := fiber.New() r.Use(cors.New()) + r.Get("/health", func(ctx fiber.Ctx) error { + return nil + }) + api := r.Group("/api/v1") server.NewWatcherController(watcherCtl).RegistryRouter(api)