Update documentation to clarify CORS error impact on user login

Update README.md with more specific language regarding CORS errors caused by incorrect ALLOWED_ORIGINS configuration, affecting the user login experience.
This commit is contained in:
Riyadh
2026-05-15 10:35:01 +00:00
parent eef94caf72
commit f060d93a66
+2 -2
View File
@@ -122,8 +122,8 @@ If you front Tx OS with a TLS-terminating proxy that you don't control
(Tailscale `serve`, ngrok, Cloudflare Tunnel, …), two things matter:
1. **Add the public URL to `ALLOWED_ORIGINS` in `.env`.** If you skip
this, every authenticated request fails CORS and login appears to
succeed but the next request 500s.
this, the browser blocks every API call from the SPA with a CORS
error and the app appears frozen on the login screen.
```bash
ALLOWED_ORIGINS=http://localhost:3000,https://it-demo.tail70b2bc.ts.net