We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
picacomic.com在中国大陆被墙,无法访问 所以大部分资源都看不了, 能不能像pixivnow一样用cf worker做个反代,如果可以的话,能不能顺便写一下cf worker反代的代码
The text was updated successfully, but these errors were encountered:
cf worker代码在这里 https://github.com/Hanze-C/Proxy-Cf
// String if (typeof val === 'string') { if (val.startsWith('https://')) { obj[key] = val .replace('storage1.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com') .replace('storage-b.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com') .replace('img.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com') .replace('www.picacomic.com', 'pica-pica.wikawika.xyz') } }
将proxy.your-domain.com替换为你的域名
Sorry, something went wrong.
谢谢
cf worker代码在这里 https://github.com/Hanze-C/Proxy-Cf 在CF部署完后修改以下文件 api/utils.ts (Line 38-47) // String if (typeof val === 'string') { if (val.startsWith('https://')) { obj[key] = val .replace('storage1.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com') .replace('storage-b.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com') .replace('img.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com') .replace('www.picacomic.com', 'pica-pica.wikawika.xyz') } } 将proxy.your-domain.com替换为你的域名
在CF部署完后修改以下文件
谢谢,我去试试看
No branches or pull requests
picacomic.com在中国大陆被墙,无法访问
所以大部分资源都看不了,
能不能像pixivnow一样用cf worker做个反代,如果可以的话,能不能顺便写一下cf worker反代的代码
The text was updated successfully, but these errors were encountered: