Skip to content

Commit

Permalink
remove csp and etc and do basic stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed May 17, 2024
1 parent 86c97e0 commit 5883bbe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "default-src 'self'; frame-src 'self' https://app.netlify.com; script-src 'self' https://*.google-analytics.com https://www.googletagmanager.com https://*.algolianet.com https://*.algolia.net 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com https://*.algolianet.com https://*.algolia.net 'unsafe-inline'; img-src 'self' https://*.google-analytics.com data:; font-src 'self' data: https://fonts.googleapis.com https://fonts.gstatic.com; connect-src 'self' https://*.google-analytics.com https://www.googletagmanager.com https://*.algolianet.com https://*.algolia.net"
Cache-Control = "public, max-age=86400, must-revalidate"
Strict-Transport-Security = "max-age=86400; includeSubDomains; preload"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
Cache-Control = "public, max-age=86400"

[[headers]]
for = "*.html"
Expand Down

0 comments on commit 5883bbe

Please sign in to comment.