export default { async fetch(req) { const url = new URL(req.url); const target = url.searchParams.get("url"); if (!target) { return new Response(`
`, { headers: { "content-type": "text/html" } }); } const r = await fetch(target); return r; } };