-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
22 lines (19 loc) · 889 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[build]
command = "npm run build"
publish = ".next"
functions = "netlify/functions"
[functions]
node_bundler = "esbuild"
[[redirects]]
from = "/netlify/functions/*"
to = "/.netlify/functions/:splat"
status = 200
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://rsms.me; img-src 'self' data: https://images.unsplash.com https://stackblitz.com; font-src 'self' https://rsms.me; connect-src 'self' https://*.netlify.app https://api.coindesk.com; frame-ancestors 'none'; form-action 'self';"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "camera=(), microphone=(), geolocation=()"
Strict-Transport-Security = "max-age=31536000; includeSubDomains"