-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
52 lines (44 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[build]
functions = "functions"
publish = "public"
command = "npm run build"
[[headers]]
for = "/*"
[headers.values]
Expect-CT = "max-age=0, report-uri='https://panda.report-uri.com/r/d/ct/reportOnly'"
Referrer-Policy = "strict-origin-when-cross-origin"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
# ------------------------------------------------------------------------------
# Redirects
# ------------------------------------------------------------------------------
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/api/:splat"
status = 200
force = false
[[redirects]]
from = "/1.0.13--beta"
to = "/"
status = 301
force = false
[[redirects]]
from = "/1.0.14--beta"
to = "/"
status = 301
force = false
[[redirects]]
from = "/2.0.0"
to = "/"
status = 301
force = false
[[redirects]]
from = "/2"
to = "/"
status = 301
force = false
[[redirects]]
from = "/*"
to = "/"
status = 200
force = false