mirror of
https://github.com/wahyd4/heygo.git
synced 2026-08-08 21:05:48 +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
441 B
HCL
10 lines
441 B
HCL
environment = "prod"
|
|
account_id = "" # Fill in your Cloudflare account ID
|
|
heygo_cc_zone_id = "" # Fill in heygo.cc zone ID
|
|
private_domain_zone_id = "" # Fill in heygo.cc zone ID (same as heygo_cc_zone_id for prod)
|
|
public_domain = "heygo.cc"
|
|
private_domain = "my.heygo.cc"
|
|
d1_database_name = "heygo-shortlinks"
|
|
kv_namespace_title = "heygo-public-cache"
|
|
worker_name = "heygo"
|