HTTP路由器 ("/api")) { return new Response(JSON.stringify({ pathname }), { headers: { "Content-Type": "application/json" }, }); } if (pathname.startsWith("/status")) { const httpStatusCode = Number(pathname.split("/")[2]); return Number.isInteger(httpStatusCode)