refactor: sanitize proxy error messages and observability

This commit is contained in:
2026-07-05 23:08:44 +02:00
parent 0abee703a1
commit 7278676a2e
4 changed files with 14 additions and 9 deletions

View File

@@ -13,6 +13,9 @@ func RequestLogger() gin.HandlerFunc {
start := time.Now()
path := c.Request.URL.Path
query := c.Request.URL.RawQuery
if c.Request.URL.Path == "/watch/proxy/stream" || c.Request.URL.Path == "/watch/proxy/subtitle" {
query = ""
}
c.Next()