mirror of
https://github.com/wahyd4/heygo.git
synced 2026-08-09 05:15:52 +10:00
- Terraform configs for D1 databases, KV namespaces, Worker custom domains - wrangler.dev.jsonc and wrangler.prod.jsonc for environment-specific deployments - Worker code refactored to use env vars for host checking (PUBLIC_HOST, PRIVATE_HOST) - Configurable app URLs and cookie domain via env vars - Deploy and migrate npm scripts for dev/prod - Updated all tests with new env fixtures - Deployment guide in README
10 lines
194 B
TypeScript
10 lines
194 B
TypeScript
export interface Env {
|
|
DB: D1Database;
|
|
PUBLIC_LINK_CACHE?: KVNamespace;
|
|
ASSETS?: Fetcher;
|
|
PUBLIC_HOST: string;
|
|
PRIVATE_HOST: string;
|
|
APP_BASE_URL: string;
|
|
COOKIE_DOMAIN: string;
|
|
}
|