Inject probo to resolver

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-01-23 17:04:33 +01:00
parent 7ab7fd2d04
commit e6035cd701
2 changed files with 7 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
router.Use(cors.Handler(corsOpts))
router.Mount("/console/v1", console_v1.NewMux())
router.Mount("/console/v1", console_v1.NewMux(s.cfg.Probo))
router.ServeHTTP(w, r)
}