Files
heygo/wrangler.jsonc
T
Hermes Agent aac1decc71 fix: support LAN access in local dev with wildcard host matching
- PUBLIC_HOST/PRIVATE_HOST='*' matches any hostname (localhost, LAN IPs)
- Public route falls through to private on 404 (shared host in local dev)
- If both return 404, keep original public 404 response
- APP_BASE_URL updated to http://localhost:8787 for local dev
2026-06-20 15:42:21 +10:00

34 lines
760 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "heygo",
"main": "worker/index.ts",
"compatibility_date": "2026-06-20",
"assets": {
"directory": "./dist/client",
"not_found_handling": "single-page-application"
},
"observability": {
"enabled": true
},
"vars": {
"PUBLIC_HOST": "*",
"PRIVATE_HOST": "*",
"APP_BASE_URL": "http://localhost:8787",
"COOKIE_DOMAIN": ""
},
"d1_databases": [
{
"binding": "DB",
"database_name": "heygo-shortlinks",
"database_id": "00000000-0000-0000-0000-000000000000",
"migrations_dir": "migrations"
}
],
"kv_namespaces": [
{
"binding": "PUBLIC_LINK_CACHE",
"id": "00000000-0000-0000-0000-000000000000"
}
]
}