Explorar o código

Updated Prometheus URL

Yoginth %!s(int64=7) %!d(string=hai) anos
pai
achega
d9f07b6992
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmd/web.go

+ 1 - 1
cmd/web.go

@@ -674,7 +674,7 @@ func runWeb(c *cli.Context) error {
 		apiv1.RegisterRoutes(m)
 	}, ignSignIn)
 
-	m.Group("/stats", func() {
+	m.Group("/-", func() {
 		if setting.Prometheus.Enabled {
 			m.Get("/metrics", func(c *context.Context) {
 				if !setting.Prometheus.EnableBasicAuth {