Skip to content

fix(web): resolve sitemap and middleware issues for Vercel deployment#25

Merged
davidlu1001 merged 1 commit intomainfrom
claude/sovereign-engineer-protocol-2yqSI
Jan 20, 2026
Merged

fix(web): resolve sitemap and middleware issues for Vercel deployment#25
davidlu1001 merged 1 commit intomainfrom
claude/sovereign-engineer-protocol-2yqSI

Conversation

@davidlu1001
Copy link
Contributor

  • sitemap.ts: revert to static doc list (fs.readdirSync fails in Vercel monorepo because process.cwd() doesn't point to apps/web/)
  • middleware.ts: exclude .xml and .txt files from Clerk middleware (was causing "Redirecting..." response for sitemap.xml)

- sitemap.ts: revert to static doc list (fs.readdirSync fails in Vercel
  monorepo because process.cwd() doesn't point to apps/web/)
- middleware.ts: exclude .xml and .txt files from Clerk middleware
  (was causing "Redirecting..." response for sitemap.xml)
@vercel
Copy link

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
replimap-mono-web Ready Ready Preview, Comment Jan 20, 2026 0:42am

@github-actions github-actions bot added the web label Jan 20, 2026
@davidlu1001 davidlu1001 merged commit 8b53d25 into main Jan 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants