g1t/apps/web/app/lib/addresses.server.ts

8 lines269 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Self-hosting: the clone pack cache on S3 (MinIO, expiring), the API and MCP on their own port with PUBLIC_URL-derived addresses across the site, API and mail, scheduler --once, and smoke.sh covering pull requests from branches and forks and the merge queue1import { env } from "cloudflare:workers";
2
3import { type Addresses, addressesFor } from "./addresses";
4
5/** This g1t's addresses, from the Worker's settings (SITE_URL, API_URL, MCP_URL, OG_URL). */
6export function addresses(): Addresses {
7 return addressesFor(env);
8}