-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
45 lines (42 loc) · 1.39 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
37
38
39
40
41
42
43
44
45
[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/esolia_blog_tree.txt && \
cp headers-dev _site/_headers
"""
[context.deploy-preview]
command = """
curl -fsSL https://deno.land/x/install/install.sh | sh && \
/opt/buildhome/.deno/bin/deno task build && \
tree . > _site/esolia_blog_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/esolia_blog_tree.txt
cp headers-dev _site/_headers
"""
[[headers]]
for = "/*"
[headers.values]
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=()"
[[redirects]]
from = "/en/*"
to = "/en/404.html"
status = 404
[[redirects]]
from = "/*"
to = "/404.html"
status = 404