forked from vite-pwa/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
41 lines (33 loc) · 696 Bytes
/
netlify.toml
File metadata and controls
41 lines (33 loc) · 696 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
[build.environment]
NODE_VERSION = "18"
[build]
publish = ".vitepress/dist"
command = "pnpm run build"
[[redirects]]
from = "/deployment/"
to = "/deployment/index.html"
status = 200
[[redirects]]
from = "/examples/"
to = "/examples/index.html"
status = 200
[[redirects]]
from = "/frameworks/"
to = "/frameworks/index.html"
status = 200
[[redirects]]
from = "/guide/"
to = "/guide/index.html"
status = 200
[[redirects]]
from = "/workbox/"
to = "/workbox/index.html"
status = 200
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"