Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanking13/cors
Cloudflare workers CORS proxy
https://github.com/ryanking13/cors
cloudflare-workers cors-proxy
Last synced: 3 months ago
JSON representation
Cloudflare workers CORS proxy
- Host: GitHub
- URL: https://github.com/ryanking13/cors
- Owner: ryanking13
- License: mit
- Created: 2020-02-10T07:47:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T07:10:31.000Z (over 4 years ago)
- Last Synced: 2024-04-24T11:05:00.804Z (6 months ago)
- Topics: cloudflare-workers, cors-proxy
- Language: JavaScript
- Homepage: https://cors.ryanking13.workers.dev
- Size: 15.6 KB
- Stars: 23
- Watchers: 3
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - ryanking13/cors - Cloudflare workers CORS proxy (JavaScript)
README
# cors
Simple CORS proxy
## Usage
```
https://cors.ryanking13.workers.dev/?u=https://www.google.com
```__WARNING:__
You can use this demo site for testing.
However, DO NOT abuse the demo site for production.
See [Making your own CORS proxy](#making-your-own-cors-proxy).
## Making your own CORS proxy
1. [Learn about Cloudflare Workers](https://workers.cloudflare.com/)
2. Fork this repository
3. Change `accound_id` in [wrangler.toml](./wrangler.toml) to your Account ID
4. (Optional) Set `APP_NAME`, `HOSTNAME`, `APP_KEY` (Ingestion key) for [LogDNA](https://logdna.com/) logging
- If logging is not needed, set `APP_KEY` to empty string `""`.
5. `wrangler publish` ✨