@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 8 lines 252 Bytes
Raw
1 import type { APIEvent } from "@solidjs/start/server";
2
3 export function GET({ request }: APIEvent) {
4 return Response.json({
5 name: new URL(request.url).searchParams.get("name") ?? "visitor",
6 greeting: process.env.GREETING ?? "Hello!",
7 });
8 }