docs: add frontend dev server config to CORS section#518
Conversation
Cover both sides of CORS in preview environments: backend origin allowlisting and frontend dev server host configuration (Vite allowedHosts, Next.js allowedDevOrigins). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Extract hostname from the full URL for Vite's allowedHosts, and use the env var directly for Next.js allowedDevOrigins. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Review complete. No issues found. The PR correctly adds frontend dev server configuration to the CORS section, covering both Vite ( Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
Review complete. No issues found. The PR correctly adds frontend dev server configuration to the CORS section, covering both Vite ( Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
Important
Updates
environments.mdxto include frontend dev server configuration for CORS handling in preview environments.environments.mdx.ROO_WEB_HOSTfor Express, Hono, and Fastify.This description was created by
for 777f963. You can customize this summary. It will automatically update as commits are pushed.