remove jwtAuth in prom api

This commit is contained in:
Ulric Qin 2021-12-06 15:18:56 +08:00
parent ff79ad1338
commit a94a602d4f
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -39,6 +39,7 @@ _test
/n9e
/docker/pub
/docker/n9e
/docker/mysqldata
.alerts
.idea

View File

@ -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)