Skip to content

Commit 273f4d7

Browse files
Mlaz-codeclaude
andauthored
seo: rewrite root / to /en instead of 308 redirect (#210)
* docs(api)!: drop game_state from EV/arb/low-hold reference Live game state (scores, period, clock) is exclusive to /api/v1/gamestate and the gamestate stream channel. Remove the game_state row from sample payloads + schema tables on the EV, arbitrage, and low-hold reference pages, and add a breaking-change callout pointing readers at gamestate. BREAKING CHANGE: clients that read game_state off opportunity rows must fetch /api/v1/gamestate (or subscribe to /api/v1/stream/gamestate) and join by event_id. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * seo: rewrite root / to /en instead of 308 redirect Semrush and other crawlers were getting HTTP 308 when hitting docs.sharpapi.io/ which blocked indexing of the docs home page. Change the root / from a permanent redirect to a transparent rewrite so crawlers see the content at the canonical URL. --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1b73fba commit 273f4d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"cleanUrls": true,
66
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- app/ components/ content/ pages/ public/ scripts/ styles/ theme.config.tsx next.config.mjs proxy.ts package.json vercel.json",
77
"redirects": [
8-
{ "source": "/", "destination": "/en", "permanent": true },
98
{ "source": "/streaming", "destination": "/en/streaming/overview", "permanent": true },
109
{ "source": "/streaming/overview", "destination": "/en/streaming/overview", "permanent": true },
1110
{ "source": "/streaming/:path*", "destination": "/en/streaming/:path*", "permanent": true },
@@ -33,6 +32,7 @@
3332
{ "source": "/en/sitemap.xml", "destination": "/sitemap.xml", "permanent": true }
3433
],
3534
"rewrites": [
35+
{ "source": "/", "destination": "/en" },
3636
{ "source": "/ingest/static/:path*", "destination": "https://us-assets.i.posthog.com/static/:path*" },
3737
{ "source": "/ingest/:path+/", "destination": "https://us.i.posthog.com/:path+/" },
3838
{ "source": "/ingest/:path*", "destination": "https://us.i.posthog.com/:path*" }

0 commit comments

Comments
 (0)