Skip to content

Conversation

@smoreinis
Copy link
Collaborator

Root Cause: The ALLOWED_ORIGINS environment variable is not set, so the backend defaults to ["*"] (wildcard). Combined with allow_credentials=True at src/api/app.py:101, browsers reject this configuration.

The Fix: Set the ALLOWED_ORIGINS environment variable before starting the backend:

@smoreinis smoreinis requested a review from a team as a code owner January 9, 2026 00:46
@danielmillerp danielmillerp self-requested a review January 9, 2026 00:47
@smoreinis smoreinis merged commit fbfdcb7 into main Jan 9, 2026
25 checks passed
@smoreinis smoreinis deleted the stas/local-allowed-origins branch January 9, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants