import index from "./www/index.html" with { type: "text" };
export default function (req: Request) {
if (new URL(req.url).pathname === "/")
return new Response(index, {
headers: {
"Content-Type": "text/html; charset=utf8",
},
});
return new Response("404", {
status: 404,
});
}