This commit is contained in:
parent
01ba6458fa
commit
4ce21e2602
@ -44,6 +44,10 @@ func main() {
|
|||||||
r := fiber.New()
|
r := fiber.New()
|
||||||
r.Use(cors.New())
|
r.Use(cors.New())
|
||||||
|
|
||||||
|
r.Get("/health", func(ctx fiber.Ctx) error {
|
||||||
|
return nil
|
||||||
|
})
|
||||||
|
|
||||||
api := r.Group("/api/v1")
|
api := r.Group("/api/v1")
|
||||||
|
|
||||||
server.NewWatcherController(watcherCtl).RegistryRouter(api)
|
server.NewWatcherController(watcherCtl).RegistryRouter(api)
|
||||||
|
Loading…
Reference in New Issue
Block a user