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
| 1 | import * as Fly from "@alchemy.run/fly"; |
| 2 | import * as Effect from "effect/Effect"; |
| 3 | import Api from "./ApiWorker.ts"; |
| 4 | |
| 5 | // #region show |
| 6 | export const Web = Effect.gen(function* () { |
| 7 | const api = yield* Api; |
| 8 | |
| 9 | return yield* Fly.Website.Astro("Web", { |
| 10 | rootDir: "./apps/web", |
| 11 | env: { API_URL: api.url.as<string>() }, |
| 12 | }); |
| 13 | }); |
| 14 | // #endregion show |