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

main
ts 4 lines 192 Bytes
Raw
1 export function GET(request: Request) {
2 const name = new URL(request.url).searchParams.get("name") ?? "world";
3 return Response.json({ name, greeting: process.env.GREETING ?? "hello" });
4 }