Skip to content

Revert "Horrible fix for cross site badness"#503

Merged
HellFelix merged 2 commits intomainfrom
revert-501-fix-cross-site
Mar 30, 2026
Merged

Revert "Horrible fix for cross site badness"#503
HellFelix merged 2 commits intomainfrom
revert-501-fix-cross-site

Conversation

@HellFelix
Copy link
Copy Markdown
Contributor

Reverts #501

The solution is to use a regex matching https://fastapi.tiangolo.com/tutorial/cors/#use-corsmiddleware.

This merge makes the CORS origins in dev messy, and setting us up for confusion in the future :)

Copy link
Copy Markdown
Contributor

@georgelgeback georgelgeback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, guy who wrote it is real smart so it probs will work. We will test in staging.

@HellFelix HellFelix merged commit acda2b9 into main Mar 30, 2026
1 check passed
@georgelgeback georgelgeback deleted the revert-501-fix-cross-site branch March 30, 2026 17:58
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.

2 participants