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

feature request: enable CORS for the pub.dev API #8086

Open
csells opened this issue Sep 28, 2024 · 1 comment
Open

feature request: enable CORS for the pub.dev API #8086

csells opened this issue Sep 28, 2024 · 1 comment

Comments

@csells
Copy link

csells commented Sep 28, 2024

The community has built a pretty great dart wrapper around the pub.dev API: the pub_api_client package. And it works great everywhere except from the web. I wonder if we could configure the CORS settings for Flutter Web use of the pub.dev API?

tagging @jonasfj. thanks!

@jonasfj
Copy link
Member

jonasfj commented Sep 30, 2024

I think that for GET requests setting some decent CORS headers should be okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants