Skip to content

A simple CORS proxy that can easily be uploaded as a Cloudflare Worker

License

Notifications You must be signed in to change notification settings

impure/cloudflare-cors-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

cloudflare-cors-proxy

A simple CORS proxy that can easily be uploaded as a Cloudflare Worker.

The worker proxies a request through a cloudflare worker. This allows you to get around CORS restrictions in browsers, without changing the CORS settings of a server.

Because CORS proxies are often used for nefarious things, of which I would not like to be a part of, I won't post a link to a working CORS proxy here, but they're easy to create in cloudflare without installing anything, and they're available on the free tier.

Usage

Just put the URL you'd like to proxy to where $TARGET_URL is in the string below.

curl "https://corsproxy.$CLOUDFLARE_USER.workers.dev/corsproxy/?apiurl=$TARGET_URL"

About

A simple CORS proxy that can easily be uploaded as a Cloudflare Worker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%