export default { async fetch(request, env) { const url = new URL(request.url); // Servir la Interfaz Visual (HTML/CSS) if (url.pathname === "/" || url.pathname === "/index.html") { return new Response(htmlContent, { headers: { "content-type": "text/html;charset=UTF-8" }, }); } // Si intenta acceder a otra ruta, redirigir al inicio return Response.redirect(url.origin, 301); }, }; // --- ABAJO ESTÁ TODO SU DISEÑO DE CLARO (Sin rastro de Shock GPS) --- const htmlContent = `
Panel Distribuidores