-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
30 lines (21 loc) · 878 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
23
24
25
26
27
28
29
30
[build]
command = 'npm run build'
publish = 'dist'
[[headers]]
for = '/*'
[headers.values]
Strict-Transport-Security = 'max-age=63072000; preload'
Content-Security-Policy = "default-src 'self'; script-src 'unsafe-inline' 'self' www.googletagmanager.com www.google-analytics.com; connect-src 'self' www.googletagmanager.com www.google-analytics.com; img-src 'self' www.googletagmanager.com www.google-analytics.com; object-src 'none'"
X-Content-Type-Options = 'nosniff'
X-Frame-Options = 'DENY'
X-XSS-Protection = '1; mode=block'
[[redirects]]
from = 'https://compassionate-stonebraker-ee8a06.netlify.com/*'
to = 'https://www.johnkarahalis.com/:splat'
status = 301
force = true
[[redirects]]
from = 'https://compassionate-stonebraker-ee8a06.netlify.app/*'
to = 'https://www.johnkarahalis.com/:splat'
status = 301
force = true