-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_headers
More file actions
15 lines (13 loc) · 1.14 KB
/
Copy path_headers
File metadata and controls
15 lines (13 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Netlify counterpart of vercel.json's "headers" — keep the two in sync.
/*
Content-Security-Policy: default-src 'self'; base-uri 'self'; object-src 'none'; frame-ancestors 'none'; img-src 'self' data:; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com/gsi/style; script-src 'self' https://accounts.google.com/gsi/client; connect-src 'self' https://accounts.google.com/gsi/ https://fonts.googleapis.com https://fonts.gstatic.com https://*.ingest.sentry.io https://*.ingest.de.sentry.io; frame-src https://accounts.google.com/gsi/; form-action 'self'; worker-src 'self'; manifest-src 'self'
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
X-Frame-Options: DENY
# Never let a CDN cache pin an old service worker or manifest — updates would stall.
/sw.js
Cache-Control: public, max-age=0, must-revalidate
/manifest.webmanifest
Cache-Control: public, max-age=0, must-revalidate