forked from cyberviser/Hancock
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
35 lines (29 loc) Β· 972 Bytes
/
netlify.toml
File metadata and controls
35 lines (29 loc) Β· 972 Bytes
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
[build]
publish = "docs"
# No build command needed β pure static HTML
# Custom domain β configure DNS at Google Domains:
# A record: @ β 75.2.60.5
# CNAME record: www β apex-loadbalancer.netlify.com
# Then add cyberviser.ai in Netlify β Site settings β Domain management
[[redirects]]
from = "https://cyberviser.netlify.app/*"
to = "https://cyberviser.ai/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.cyberviser.ai/*"
to = "https://cyberviser.ai/:splat"
status = 301
force = true
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "camera=(), microphone=(), geolocation=()"
Cache-Control = "public, max-age=3600"
[[headers]]
for = "/*.html"
[headers.values]
Cache-Control = "public, max-age=0, must-revalidate"