Skip to content

Commit 9e63701

Browse files
explodedclaude
andcommitted
Fix CSP blocking Cloudflare Insights and add missing favicon
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6058c7b commit 9e63701

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

internal/middleware/security.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func SecurityHeaders(isProd bool, next http.Handler) http.Handler {
1212
}
1313
w.Header().Set("Content-Security-Policy",
1414
"default-src 'self'; "+
15-
"script-src 'self' https://unpkg.com; "+
15+
"script-src 'self' https://unpkg.com https://static.cloudflareinsights.com; "+
1616
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "+
1717
"font-src 'self' https://fonts.gstatic.com; "+
1818
"img-src 'self' https://image.tmdb.org data:; "+

static/favicon.ico

1.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)