remove jwtAuth in prom api
This commit is contained in:
parent
ff79ad1338
commit
a94a602d4f
|
@ -39,6 +39,7 @@ _test
|
|||
/n9e
|
||||
/docker/pub
|
||||
/docker/n9e
|
||||
/docker/mysqldata
|
||||
|
||||
.alerts
|
||||
.idea
|
||||
|
|
|
@ -100,7 +100,7 @@ func configRoute(r *gin.Engine, version string) {
|
|||
|
||||
pages := r.Group(pagesPrefix)
|
||||
{
|
||||
pages.Any("/prometheus/*url", jwtAuth(), prometheusProxy)
|
||||
pages.Any("/prometheus/*url", prometheusProxy)
|
||||
|
||||
pages.GET("/version", func(c *gin.Context) {
|
||||
c.String(200, version)
|
||||
|
|
Loading…
Reference in New Issue