Commit d4282f0
Enable clean URLs on Vercel so sub-pages resolve
The static build emits <route>.html files, but Vercel was not mapping
extensionless paths to them, so direct loads of /get, /ocd, /toolkit,
/blog, etc. returned 404 (they only worked via client-side navigation).
This broke the ad landing page and returned 404s to crawlers on every
sub-page. cleanUrls serves /get from get.html and redirects .html to the
clean URL; trailingSlash:false keeps canonicals consistent.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f488d1e commit d4282f0
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
0 commit comments