-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
37 lines (30 loc) · 835 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
[template.environment]
GQL_HOST = "WordPress URL http://example.com"
NUXT_IMAGE_DOMAINS = "Comma separated list of domains. example.com,example2.com"
[build]
command = "nuxi generate"
functions = "functions"
[[redirects]]
from = '/api/*'
to = '/.netlify/functions/:splat'
status = 200
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/*.jpg"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/*.png"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/*.svg"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/*.webp"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"