mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
fix(web-proxy): fix dashboard cache headers, force path lowercase in metrics
This commit is contained in:
parent
939a727969
commit
372eef72f4
2 changed files with 3 additions and 1 deletions
|
|
@ -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 ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue