siteproxy icon indicating copy to clipboard operation
siteproxy copied to clipboard

发个简易的前端,有没有朋友给cf版本适配一下

Open pixcati opened this issue 2 years ago • 3 comments

index.txt

pixcati avatar Apr 21 '22 11:04 pixcati

这个文件,https://github.com/netptop/siteproxy/blob/master/build/worker.js

搜索www.netptop.com,换成你自己的域名/链接,自己调一下那个字符串前面的https/http(如果支持https就不用管)

SunsetMkt avatar May 17 '22 13:05 SunsetMkt

这个文件,https://github.com/netptop/siteproxy/blob/master/build/worker.js

搜索www.netptop.com,换成你自己的域名/链接,自己调一下那个字符串前面的https/http(如果支持https就不用管)

以哪个为主,readme说的是搜索siteproxy.netptop.workers.dev,替换成你的子域名

注意:workers.dev域名基本被屏蔽,建议申请一个自己的域名。
1. 注册一个cloudflare账户
2. 在cloudflare上创建一个worker, 使用自己的域名,或者生成的这个worker的子域名, 比如 abcd123.xxxx.workers.dev
3. 下载https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js文件,用文本编辑器打开,搜索siteproxy.netptop.workers.dev,替换成你的子域名
4. 在cloudflare上编辑刚刚创建的worker, 将worker.js所有内容拷贝,覆盖粘贴到worker里面,保存
5. 现在应该可以在浏览器中 访问你的子域名了

wraptor avatar Aug 23 '22 16:08 wraptor

都要分别替换

SunsetMkt avatar Aug 24 '22 23:08 SunsetMkt