Merge branch 'Wei-Shaw:main' into rebuild/auth-identity-foundation

This commit is contained in:
IanShaw
2026-04-22 17:24:38 +08:00
committed by GitHub
17 changed files with 2805 additions and 46 deletions

View File

@@ -96,7 +96,8 @@ func isAPIRoutePath(c *gin.Context) bool {
return strings.HasPrefix(path, "/v1/") ||
strings.HasPrefix(path, "/v1beta/") ||
strings.HasPrefix(path, "/antigravity/") ||
strings.HasPrefix(path, "/responses")
strings.HasPrefix(path, "/responses") ||
strings.HasPrefix(path, "/images")
}
// enhanceCSPPolicy ensures the CSP policy includes nonce support, Cloudflare Insights,