Skip to content

Instantly share code, notes, and snippets.

View ywager's full-sized avatar
🎯
Focusing

ywager ywager

🎯
Focusing
View GitHub Profile
@ywager
ywager / cloudflare-worker-proxy.js
Created March 14, 2023 05:57 — forked from noobnooc/cloudflare-worker-proxy.js
cloudflare-worker-proxy
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.