@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, 07:15 UTC

main
ts 12 lines 279 Bytes
Raw
1 export default {
2 fetch(request) {
3 const url = new URL(request.url);
4
5 if (url.pathname.startsWith("/api/")) {
6 return Response.json({
7 name: "Cloudflare",
8 });
9 }
10 return new Response(null, { status: 404 });
11 },
12 } satisfies ExportedHandler<Env>;