Skip to content

Commit

Permalink
fix: Request from outside does not route metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestjgq committed Apr 20, 2021
1 parent 7960dd9 commit d016af9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/httpsrv/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func RequestHTTP(req *gmi.Request) *gmi.Response {
return serveDebug(req)
case gmi.RouteVars:
return serveVar(req)
case gmi.RouteMetrics:
return serveMetrics(req)
default:
return &gmi.Response{
Status: 404,
Expand Down

0 comments on commit d016af9

Please sign in to comment.