generated from antaresphdev/eleventy-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnetlify.toml
41 lines (35 loc) · 792 Bytes
/
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
[build]
command = "npm run build"
publish = "public"
functions = "lambda"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "no-referrer-when-downgrade"
Access-Control-Allow-Origin = "*"
[[headers]]
for = "/assets/images/feather-sprite.svg"
[headers.values]
Content-Type = 'image/svg+xml'
[[redirects]]
from = "/next"
to = "/.netlify/functions/next"
status = 301
force = true
[[redirects]]
from = "/previous"
to = "/.netlify/functions/previous"
status = 301
force = true
[[redirects]]
from = "/prev"
to = "/.netlify/functions/previous"
status = 301
force = true
[[redirects]]
from = "/random"
to = "/.netlify/functions/random"
status = 301
force = true