You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/23 13:42:34 UTC

[GitHub] [apisix] membphis commented on a change in pull request #2826: feat(prometheus): allow customizing Prometheus export uri

membphis commented on a change in pull request #2826:
URL: https://github.com/apache/apisix/pull/2826#discussion_r528710184



##########
File path: apisix/init.lua
##########
@@ -372,7 +372,9 @@ function _M.http_access_phase()
         end
     end
 
-    if core.string.has_prefix(uri, "/apisix/") then
+    if router.api.has_route_not_under_apisix() or
+      core.string.has_prefix(uri, "/apisix/")

Review comment:
       bad indentation




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org