Commit 8f39369
committed
fix(deploy): publish dist on Cloudflare Pages
Pages was serving the source index.html (referencing /src/main.tsx) because
wrangler.toml lacked pages_build_output_dir, so Pages published the repo root
instead of the Vite build output. Set pages_build_output_dir=dist and restore
the SPA fallback _redirects.1 parent a9111cf commit 8f39369
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
0 commit comments