export default { async fetch(request) { // Ganti dengan URL target kamu const target = "https://shorten.so/dfwef"; const url = new URL(request.url); const targetUrl = target + url.pathname + url.search; // Fetch dari target URL const response = await fetch(targetUrl, { method: request.method, headers: request.headers, body: request.body, }); // Kembalikan response ke visitor return new Response(response.body, response); } };