@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 12 lines 459 Bytes
Raw
1 /**
2 * Asset-only entry for the Cloudflare `Website.StaticSite`. Every request
3 * falls through to the static assets; the worker itself only answers
4 * `/__worker` so the suite can tell "assets served" from "worker served".
5 */
6 export default {
7 fetch: async (request: Request) => {
8 const url = new URL(request.url);
9 if (url.pathname === "/__worker") return Response.json({ ok: true });
10 return new Response("not found", { status: 404 });
11 },
12 };