Skip to content

Commit

Permalink
Add frame-ancestors directive to CSP (#4111)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
  • Loading branch information
tegioz authored Oct 22, 2024
1 parent 53228a9 commit 73e5cb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/handlers/static/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const (
img-src 'self' data: https:;
manifest-src 'self';
script-src 'self' https://www.google-analytics.com;
style-src 'self' 'unsafe-inline'
style-src 'self' 'unsafe-inline';
frame-ancestors 'none';
`

indexCacheMaxAge = 5 * time.Minute
Expand Down

0 comments on commit 73e5cb0

Please sign in to comment.