1 parent d3592ae commit 35fd394Copy full SHA for 35fd394
1 file changed
_worker.js
@@ -301,7 +301,7 @@ export default {
301
return new Response(订阅内容, { status: 200, headers: responseHeaders });
302
}
303
return new Response('无效的订阅TOKEN', { status: 403 });
304
- } else if (访问路径 === 'locations') return fetch(new Request('https://speed.cloudflare.com/locations'));
+ } else if (访问路径 === 'locations') return fetch(new Request('https://speed.cloudflare.com/locations', { headers: { 'Referer': 'https://speed.cloudflare.com/' } }));
305
} else if (管理员密码) {// ws代理
306
await 反代参数获取(request);
307
return await 处理WS请求(request, userID);
0 commit comments