RT,希望能有一个代码,让workers可以反代 “域名:端口” 这个代码已经让workers的临时预览窗口成功访问端口了,就是三级域名处不成功,吊大大的大神,帮忙修改一下: addEventListener(‘fetch’, event => { const request = event.request; const url = new URL(request.url); const response = fetch(‘https://admin.boomer.host:4083’ + url.pathname + url.search, { method: request.method, headers: request.headers, body: request.body, }); event.respondWith(response); }); 复制代码 试过了,不能