Closed fscarmen closed 10 months ago
f佬,可以用https://github.com/gaboolic/cloudflare-reverse-proxy 这个项目 vercel我发现它有个问题是会把//自动再重定向成/,所以没办法了
你好呀,我发现有个问题,vercel 能找代 api.github,但worker不行,我用你的两个项目,以下为截图,从第一个截图下载 github 上的 release 来看是已经搭建成功了的,但第二个截图可以看到 worker 版本的不能反代 api.github
截图一:
截图二:
worker版本的 /proxy/ 后面跟的就是原始完整Url,带https的 我看你第二个图proxy/后面没有带https://
是的,我看了说明,是与vercel不同的,我也加上了 https://,仍然是不行的,你用你的 worker 看看呢,谢谢!
wget -qO- -T1 -t1 "https://api.github.com/repos/octeep/wireproxy/releases/latest" | grep "tag_name"
https://api.github.com/repos/octeep/wireproxy/releases/latest
好像确实是有问题,用浏览器打开403,有错误信息Request forbidden by administrative rules. Please make sure your request has a User-Agent header (https://docs.github.com/en/rest/overview/resources-in-the-rest-api#user-agent-required). Check https:developer.github.com for other possible causes.
Then I tested it, it seems that because last month I received a PR to solve another problem without careful testing, that PR modified the header, I first changed back to the problem before speaking. You re-pull the code and modify the worker code, I'll test l
之前合并了pr 有点问题
感谢大佬的项目。同时我想同类项目均在原地址前面直接加上反代cdn地址,连 https:// 这里也保留,希望本项目也添加这样的方式。
https://objects.githubusercontent.com/github-production-release-asset-2e65be/xxxxxx 改为 https://替换为你自己的域名.com/https://objects.githubusercontent.com/github-production-release-asset-2e65be/xxxxxx 或者 https://替换为你自己的域名.com/proxy/https://objects.githubusercontent.com/github-production-release-asset-2e65be/xxxxxx