Dev Tools · 1h ago
CORS Domain Mismatch Silently Broke DocMind AI on Redeploy
A RAG-based document chatbot, DocMind AI, broke after redeploying its frontend to a new Netlify domain with a hyphen difference. The backend's CORS allow_origins still listed only the old domain, blocking all requests from the new URL. The fix added both domains to the allow list, restoring functionality.
Meridian48 take
A cautionary tale: even a single hyphen in a domain name can silently break your app, and CORS misconfigurations are easy to miss when the old deployment still works.
Read the full reporting
A CORS Mismatch That Broke DocMind AI on a Fresh Netlify Deploy →
DEV Community
corsnetlify-deploy