pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

feature request: enable CORS for the pub.dev API

Open csells opened this issue 1 year ago • 1 comments

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!

csells avatar Sep 28 '24 22:09 csells

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

jonasfj avatar Sep 30 '24 10:09 jonasfj