订阅故障现象
处理方法,这里感谢大善人的GPT
首先的有两个域名在cf上托管
然后建立一个Workers
const TARGET = "https://xxxxx"; // 你的真实订阅服务器(不要加路径)
export default {
async fetch(request) {
const url = new URL(request.url);
// 将请求路径与参数原样转发到真实订阅服务器
const targetUrl = TARGET + url.pathname + url.search;
let newReq = new Request(targetUrl, {
method: request.method,
headers: request.headers,
body: request.method !== "GET" ? request.body : null,
redirect: "follow"
});
return fetch(newReq);
}
}
然后就订阅正常了
还有超时的问题没想好怎么解决在dns enable=true状态
9
18
还在为IP不纯、平台风控、频繁验证而烦恼? 丽萨主机海外原生IP VPS,双ISP住宅IP,覆盖美国、香港、日本、新加坡、台湾、德国、越南、英国等热门地区,适合跨境电商、社媒运营、AI工具、流媒体及海外业务使用。
18 条回复
排序