Skip to content

Commit 30e26ce

Browse files
Mlaz-codeclaude
andcommitted
fix: add root redirect to /en/ so docs.sharpapi.io resolves
The Nextra locale proxy middleware doesn't run on static exports with framework: null. Add an explicit Vercel redirect for / → /en. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c7499fe commit 30e26ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

vercel.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"cleanUrls": true,
66
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- app/ components/ content/ pages/ public/ styles/ theme.config.tsx next.config.mjs proxy.ts package.json vercel.json",
77
"redirects": [
8+
{ "source": "/", "destination": "/en", "permanent": false },
89
{ "source": "/streaming", "destination": "/en/streaming/overview", "permanent": true },
910
{ "source": "/streaming/overview", "destination": "/en/streaming/overview", "permanent": true },
1011
{ "source": "/streaming/:path*", "destination": "/en/streaming/:path*", "permanent": true },

0 commit comments

Comments
 (0)