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
422 B
HCL
10 lines
422 B
HCL
environment = "dev"
|
|
account_id = "" # Fill in your Cloudflare account ID
|
|
heygo_cc_zone_id = "" # Fill in heygo.cc zone ID
|
|
private_domain_zone_id = "" # Fill in junv.cc zone ID
|
|
public_domain = "dev.heygo.cc"
|
|
private_domain = "my.dev.junv.cc"
|
|
d1_database_name = "heygo-shortlinks-dev"
|
|
kv_namespace_title = "heygo-public-cache-dev"
|
|
worker_name = "heygo-dev"
|