Skip to content

Commit 8defc17

Browse files
3o14claude
andcommitted
fix(docs): add cleanUrls to Vercel config for static export routing
Static export generates embed/theme-preview.html but Vercel was returning 404 for /embed/theme-preview without the .html extension. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent 8343541 commit 8defc17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Package static output for Vercel
4545
run: |
4646
mkdir -p docs/.vercel/output/static
47-
echo '{"version":3}' > docs/.vercel/output/config.json
47+
echo '{"version":3,"cleanUrls":true}' > docs/.vercel/output/config.json
4848
cp -r docs/out/. docs/.vercel/output/static/
4949
5050
- name: Deploy to Vercel

0 commit comments

Comments
 (0)