Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the CORS headers to the billing functions #1233

Merged
merged 4 commits into from
Oct 16, 2023

Conversation

travjenkins
Copy link
Member

@travjenkins travjenkins commented Oct 11, 2023

Description:
Adding the CORS headers to the billing functions.

Workflow steps:
N/A

Documentation links affected:
N/A

Notes for reviewers:

This is just to be super safe. Everything is working today but we should probably be including these. This especially helps locally when there can be some wonky CORS issues.


This change is Reviewable

@travjenkins travjenkins requested a review from jshearer October 11, 2023 18:09
@travjenkins travjenkins marked this pull request as ready for review October 11, 2023 18:25
Copy link
Contributor

@jshearer jshearer left a comment

Choose a reason for hiding this comment

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

These changes all LGTM. One question (that I couldn't create inline for some reason) is whether we need to reply with the correct CORS headers in the OPTIONS response as well: https://github.com/estuary/flow/pull/1233/files#diff-8f0dc4f8a45981d5117d609e501af8cc97cdbe842a0418dda9b535326f892b08L17

As it is right now, it appears that Supabase is giving us some CORS headers already, so maybe we're all good:

Screen Shot 2023-10-16 at 10 47 48

@travjenkins
Copy link
Member Author

@jshearer - yeah we should. Added the headers.

@travjenkins travjenkins merged commit 384a908 into master Oct 16, 2023
2 checks passed
@travjenkins travjenkins deleted the travjenkins/addCorsToBilling branch October 16, 2023 17:36
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