Skip to content

Instantly share code, notes, and snippets.

@GH6324
GH6324 / cloudflare-worker-proxy.js
Created March 17, 2023 09:26 — 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.
@GH6324
GH6324 / 3001imgbed.js
Created September 19, 2023 11:33 — forked from BlueSkyXN/3001imgbed.js
3001imgbed.js
// Giithub @BlueSkyXN
// Code https://gist.github.com/BlueSkyXN/cf009388660348915be2166f6080e02d
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
// 目前该地址经过实验不需要认证,不需要UA、Cookie、Content-Type、Authorization: Bearer等信息,直接上传都行
// 思路来源 https://tencentsb.xyz/md/ 和出处(需要登录或者用谷歌爬虫UA/快照访问) https://jike.info/topic/22192/
// 参考资料 https://www.freebuf.com/articles/system/227532.html
// 参考资料 https://github.com/yuolvv/Poor_image_upload