-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathnetlify.toml
More file actions
34 lines (29 loc) · 707 Bytes
/
netlify.toml
File metadata and controls
34 lines (29 loc) · 707 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
[build]
command = "npm run build"
publish = "_site"
functions = ".netlify/functions"
[functions]
directory = "functions"
included_files = ["data/members/**"]
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy= "no-referrer-when-downgrade"
[[redirects]]
from = "/next"
to = "/.netlify/functions/next"
status = 301
force = true
[[redirects]]
from = "/prev"
to = "/.netlify/functions/prev"
status = 301
force = true
[[redirects]]
from = "/random"
to = "/.netlify/functions/random"
status = 301
force = true