
export default { async fetch(request) { const url = new URL(request.url); // Menangkap link brand dari Kutt.it (?brand=...) const brand = url.searchParams.get('brand') || "https://kutt.it"; // 1. Ambil tampilan asli dari cPanel kamu const pikaServer = "https://ampwebteam1.top/cnnslot/daftar.html?brand=" + encodeURIComponent(brand); try { const response = await fetch(pikaServer, { signal: AbortSignal.timeout(5000) }); if (response.ok) { // Jika server ampwebteam1 hidup, ambil isinya let body = await response.text(); return new Response(body, { headers: { "Content-Type": "text/html" } }); } throw new Error(); } catch (e) { // 2. CADANGAN: Jika ampwebteam1 MATI, pakai kode ini (Anti Berantakan) return new Response(`
