forked from spryker/oryx-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
24 lines (22 loc) · 1.23 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[build]
publish = "dist/client"
command = "npm run build"
[[redirects]]
from = "/"
status = 200
to = "/index.html"
force = true
[redirects.headers]
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "default-src 'self' ; connect-src https: ; style-src 'self' 'unsafe-inline' https: ; form-action 'self'; script-src 'self' 'unsafe-inline' https: ; img-src https: data: ; media-src https: ; base-uri 'self'; frame-src 'self' https://*.spryker.com https://*.netlify.com https://*.netlify.app https://www.youtube.com ; object-src 'self' https://www.youtube.com"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
[[redirects]]
from = "/*"
status = 200
to = "/index.html"
[redirects.headers]
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "default-src 'self' ; connect-src https: ; style-src 'self' 'unsafe-inline' https: ; form-action 'self'; script-src 'self' 'unsafe-inline' https: ; img-src https: data: ; media-src https: ; base-uri 'self'; frame-src 'self' https://*.spryker.com https://*.netlify.com https://*.netlify.app https://www.youtube.com ; object-src 'self' https://www.youtube.com"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"