-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
35 lines (34 loc) · 1.3 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
[build]
publish = "_site"
[context.production]
command = """
curl -fsSL https://deno.land/x/install/install.sh | sh && \
/opt/buildhome/.deno/bin/deno task build && \
tree . > _site/jac_tree.txt
"""
[context.deploy-preview]
command = """
curl -fsSL https://deno.land/x/install/install.sh | sh && \
/opt/buildhome/.deno/bin/deno task build && \
tree . > _site/jac_tree.txt && \
cp headers-dev _site/_headers
"""
[context.branch-deploy]
command = """
curl -fsSL https://deno.land/x/install/install.sh | sh && \
/opt/buildhome/.deno/bin/deno task build && \
tree . > _site/jac_tree.txt
cp headers-dev _site/_headers
"""
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "upgrade-insecure-requests; block-all-mixed-content;"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
X-Powered-By = "Lume mixed with Blood Sweat and Tears"
X-Custom-Header = "Rawr eSolia Tokyo"
Referrer-Policy = "strict-origin-when-cross-origin"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
Permissions-Policy = "autoplay=(), camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=()"