Skip to content

Commit 0970892

Browse files
gkamradtclaude
andcommitted
fix: Simplify vercel.json for SPA routing
Simplified Vercel configuration to fix /typer route 404 errors by removing complex routing rules that interfered with client-side routing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent bc47ae7 commit 0970892

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

vercel.json

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
11
{
2-
"version": 2,
3-
"name": "multiple-code-terminals",
4-
"buildCommand": "npm run build",
5-
"outputDirectory": "dist",
62
"rewrites": [
73
{
84
"source": "/(.*)",
95
"destination": "/index.html"
106
}
11-
],
12-
"headers": [
13-
{
14-
"source": "/assets/(.*)",
15-
"headers": [
16-
{
17-
"key": "Cache-Control",
18-
"value": "public, max-age=31536000, immutable"
19-
}
20-
]
21-
}
22-
],
23-
"cleanUrls": true,
24-
"trailingSlash": false
7+
]
258
}

0 commit comments

Comments
 (0)