The previous regex routed all methods for /login to the backend. A browser navigating to /login sends GET, which returned 405 because the backend only has POST /login. Now GET goes to the React SPA. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>