-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
44 lines (36 loc) · 762 Bytes
/
netlify.toml
File metadata and controls
44 lines (36 loc) · 762 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
43
44
[build]
publish = "dist"
command = "npm run build"
[dev]
command = "npm run dev"
port = 3000
publish = "dist"
[[headers]]
for = "/*.js"
[headers.values]
Content-Type = "application/javascript"
[[headers]]
for = "/**/*.js"
[headers.values]
Content-Type = "application/javascript"
[[headers]]
for = "/*.css"
[headers.values]
Content-Type = "text/css"
[[headers]]
for = "/**/*.css"
[headers.values]
Content-Type = "text/css"
[[headers]]
for = "/images/*"
[headers.values]
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/robots.txt"
[headers.values]
Content-Type = "text/plain"
Cache-Control = "public, max-age=86400"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200