-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
36 lines (30 loc) · 1.11 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
25
26
27
28
29
30
31
32
33
34
35
36
[dev]
framework = "astro"
[build]
publish = "dist/"
command = "npm run build"
[functions]
node_bundler = "esbuild"
[[headers]]
for = "/*"
[headers.values]
# Content-Security-Policy = "default-src 'self' *.portfolioris.nl; img-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.portfolioris.nl unpkg.com;"
# Content-Security-Policy = "default-src 'self' *.portfolioris.nl; img-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' *.portfolioris.nl unpkg.com 'nonce-foobar';"
X-Frame-Options = "SAMEORIGIN"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "no-referrer"
Permissions-Policy = "geolocation=(self)"
[[redirects]]
from = "https://me.portfolioris.nl/*"
to = "https://www.portfolioris.nl/:splat"
status = 301
force = true
[[redirects]]
from = "https://portfolioris-nl.netlify.app/*"
to = "https://www.portfolioris.nl/:splat"
status = 301
force = true
[[redirects]]
from = "/img/*"
to = "/.netlify/builders/img"
status = 200