The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as Neon from "@alchemy.run/neon"; |
| 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* Neon.Website.ReactRouter("Web", { |
| 10 | rootDir: "./apps/web", |
| 11 | env: { API_URL: api.url.as<string>() }, |
| 12 | }); |
| 13 | }); |
| 14 | // #endregion show |