Cloudflare Workers 反代网站
// 映射 URL 和对应的目标网址
const urlMappings = {
'https://xxx.xxx.workers.dev/xxx1': 'https://api.xxx.io/1xxx/xxx/xxx',
'https://xxx.xxx.workers.dev/xxx2': 'https://api.xxx.io/2xxx/xxx/xxx',
};
addEventListener('fetch', event => {
event.respondWith(handleRequest(...