e238b41fecc3f164f24efe3bc6738028d63d3db8
POST /auth/login was returning 405 because Next.js's filesystem page route at /auth/login (the login UI) shadows the afterFiles rewrite to the backend for every method, including POST. Route API paths (and non-GET/HEAD /auth/* requests) directly to the backend container at the Caddy layer instead, leaving GET/HEAD /auth/login to render the frontend login page.
Description
No description provided
Languages
TypeScript
87.1%
JavaScript
9.2%
Python
2%
CSS
1.6%