import index from './index.html'; import rickyWeb from './ricky-web.html'; export default { async fetch(request) { const url = new URL(request.url); if (url.pathname === "/ricky-web") { return new Response(rickyWeb, { headers: { "content-type": "text/html" } }); } return new Response(index, { headers: { "content-type": "text/html" } }); }, };