fix(web-proxy): fix dashboard cache headers, force path lowercase in metrics
This commit is contained in:
@@ -40,6 +40,8 @@ func cleanPath(host, path string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
path = strings.ToLower(path)
|
||||
|
||||
if !(strings.HasPrefix(path, "/v2") || strings.HasPrefix(path, "/private")) {
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user