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
| 1 | import { readFileSync } from "node:fs"; |
| 2 | |
| 3 | export const handler = async (event) => ({ |
| 4 | marker: readFileSync(new URL("./marker.txt", import.meta.url), "utf8").trim(), |
| 5 | environment: process.env.IMAGE_FUNCTION_ENV, |
| 6 | event, |
| 7 | }); |
| 8 | |
| 9 | export const alternate = async (event) => ({ |
| 10 | handler: "alternate", |
| 11 | event, |
| 12 | }); |