export default { async fetch(request) { const url = new URL(request.url); const shortUrl = url.searchParams.get("url"); if (!shortUrl) { return new Response("缺少 url 参数", { status: 400 }); } const alookUrl = "alook://" + shortUrl.replace("https://", ""); return new Response( `
`, { headers: { "Content-Type": "text/html;charset=utf-8" } } ); } };