-
Notifications
You must be signed in to change notification settings - Fork 61
/
netlify.toml
36 lines (31 loc) · 964 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
[build]
publish = "dist"
command = "pnpm run build"
[build.processing.html]
pretty_urls = false
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
sitemapPath = "/sitemap-index.xml"
# Old versions
[[redirects]]
from = "/v1/*"
to = "https://luxury-sorbet-1e94f3.netlify.app/:splat"
status = 200
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "/v2/*"
to = "https://magenta-malasada-aac0c8.netlify.app/:splat"
status = 200
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "/v3/*"
to = "https://neon-salmiakki-8da50a.netlify.app/:splat"
status = 200
force = true # COMMENT: ensure that we always redirect