Skip to content

Commit 64e9c82

Browse files
feat: add Netlify configuration for build, redirects, and caching headers
1 parent 0cac6ab commit 64e9c82

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

apps/client/netlify.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
11

2+
[build]
3+
command = "pnpm build"
4+
publish = "dist"
5+
6+
[[redirects]]
7+
from = "/*"
8+
to = "/index.html"
9+
status = 200
10+
11+
[[headers]]
12+
for = "/assets/*"
13+
[headers.values]
14+
Cache-Control = "public, max-age=31536000, immutable"
15+
16+
[[headers]]
17+
for = "/*.html"
18+
[headers.values]
19+
Cache-Control = "public, max-age=0, must-revalidate"
20+

0 commit comments

Comments
 (0)