I use this for my static sites in which I want to use results of third party api calls. If the responses from those third parties do not set the proper CORS headers set, browsers will otherwise block my frontend code from using the response bodies because of same origin policy. I run this proxy code on a CloudFlare worker, which makes the request, and then returns the response with the proper CORS headers.
-
Notifications
You must be signed in to change notification settings - Fork 0
he1en/cors-proxy
About
A simple CORS proxy I run in a cloudflare worker
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published