Skip to content

Conversation

@icyJoseph
Copy link
Contributor

@icyJoseph icyJoseph commented Jan 29, 2026

On the deployed version, the rewrite has to be declared to happen beforeFiles.

You can try this the fix out here: https://react-dev-sepia.vercel.app/ - I'll tear the link/project down after this lands.

# 1. Normal page request (should return HTML)
curl -s https://react-dev-sepia.vercel.app/learn/thinking-in-react | head -5

# 2. With Accept: text/markdown (should return markdown)
curl -s -L -H "Accept: text/markdown" https://react-dev-sepia.vercel.app/learn/thinking-in-react | head -15

# 3. Explicit .md extension (should return markdown)
curl -s https://react-dev-sepia.vercel.app/learn/thinking-in-react.md | head -15

# 4. /llms.txt normal (should return sitemap)
curl -s https://react-dev-sepia.vercel.app/llms.txt | head -10

# 5. /llms.txt with Accept: text/markdown (should still return sitemap)
curl -s -L -H "Accept: text/markdown" https://react-dev-sepia.vercel.app/llms.txt | head -10

@github-actions
Copy link

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@icyJoseph icyJoseph mentioned this pull request Jan 29, 2026
@rickhanlonii
Copy link
Member

Sick thank you!

@rickhanlonii rickhanlonii merged commit 24ec67e into reactjs:main Jan 30, 2026
8 checks passed
@rickhanlonii
Copy link
Member

Works great, thanks @icyJoseph!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants