-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
42 lines (36 loc) · 947 Bytes
/
netlify.toml
File metadata and controls
42 lines (36 loc) · 947 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
35
36
37
38
39
40
41
42
[build]
command = "npm run build"
publish = ".next"
[[plugins]]
package = "@netlify/plugin-nextjs"
[[headers]]
for = "/_next/static/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[redirects]]
from = "/_next/image"
to = "/.netlify/images?url=:url&w=:width&q=:quality"
status = 200
[redirects.query]
url = ":url"
w = ":width"
q = ":quality"
[[redirects]]
from = "/_ipx/*"
to = "/.netlify/images?url=:url&w=:width&q=:quality"
status = 200
[redirects.query]
url = ":url"
w = ":width"
q = ":quality"
[context]
[context.production]
[[context.production.headers]]
for = "/_next/static/*"
[context.production.headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[context.main]
[[context.main.headers]]
for = "/_next/static/*"
[context.main.headers.values]
Cache-Control = "public, max-age=31536000, immutable"