Skip to content

chore: DRY up CORS headers for emulator mode#105

Merged
kevmoo merged 2 commits intomainfrom
cors_header_cleanup
Apr 1, 2026
Merged

chore: DRY up CORS headers for emulator mode#105
kevmoo merged 2 commits intomainfrom
cors_header_cleanup

Conversation

@kevmoo
Copy link
Copy Markdown
Collaborator

@kevmoo kevmoo commented Apr 1, 2026

Instead of always injecting the CORS middleware and then switching the behavior WITHIN it, just add it when it's needed.

Also DRY'd up the headers.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@kevmoo kevmoo requested a review from natebosch April 1, 2026 03:59
@kevmoo
Copy link
Copy Markdown
Collaborator Author

kevmoo commented Apr 1, 2026

/gemini review

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Member

@demolaf demolaf left a comment

Choose a reason for hiding this comment

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

LGTM

@kevmoo kevmoo merged commit c9da516 into main Apr 1, 2026
9 checks passed
@kevmoo kevmoo deleted the cors_header_cleanup branch April 1, 2026 15:57
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