Add wrangler config
This commit is contained in:
parent
af9eb6b534
commit
45823a2153
12
README.md
12
README.md
|
@ -15,10 +15,16 @@ https://paypal.me/Zibri/5
|
|||
Post:
|
||||
http://www.zibri.org/2019/07/your-own-cors-anywhere-proxy-on.html
|
||||
|
||||
Deploy workers:
|
||||
https://workers.cloudflare.com/
|
||||
## Deployment
|
||||
|
||||
This project is written in [Cloudfalre Workers](https://workers.cloudflare.com/), and can be easily deployed with [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/install-and-update/).
|
||||
|
||||
```bash
|
||||
wrangler publish
|
||||
```
|
||||
|
||||
## Usage Example
|
||||
|
||||
Example:
|
||||
```javascript
|
||||
fetch('https://test.cors.workers.dev/?https://httpbin.org/post', {
|
||||
method: 'post',
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
name = "cloudflare-cors-anywhere"
|
||||
main = "index.js"
|
||||
compatibility_date = "2023-04-17"
|
Loading…
Reference in New Issue