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

main
ts 8 lines 315 Bytes
Raw
1 // An ordinary nitro API route. On AWS the nitro server runs in a plain
2 // Node Fly Machine, so environment values from alchemy.run.ts are read from
3 // `process.env`.
4 export default defineEventHandler(() => {
5 return {
6 greeting: typeof process.env.GREETING === "string" ? process.env.GREETING : null,
7 };
8 });