mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-22 21:23:02 +01:00
hex-legacy-downloads now also takes hex.kitlangton.com and .dev (the old hex-voice-site website) as custom domains, 301 to anoma.ly/hex with /download and the installer paths mapped; the downloads hosts keep their 302 routes to anoma.ly/hex/files. README gives Kit the one deploy command, the fallback if wrangler refuses, and the rollback. Removes the accidentally committed .wrangler/ state and ignores it everywhere.
20 lines
906 B
JSON
20 lines
906 B
JSON
// Kit's personal Cloudflare account, where both zones, the hex-releases bucket
|
|
// and the old hex-voice-site Worker live. Deploying this attaches all four
|
|
// hosts to this Worker (see README.md); `wrangler delete` with this config
|
|
// removes it again.
|
|
{
|
|
"name": "hex-legacy-downloads",
|
|
"account_id": "19d80aa432b86d110c8e1480cf895f5c",
|
|
"main": "worker.js",
|
|
"compatibility_date": "2026-10-30",
|
|
"workers_dev": false,
|
|
"preview_urls": false,
|
|
"routes": [
|
|
// Routes run in front of the hex-releases bucket's custom domains.
|
|
{ "pattern": "downloads.hex.kitlangton.dev/*", "zone_name": "kitlangton.dev" },
|
|
{ "pattern": "downloads.hex.kitlangton.com/*", "zone_name": "kitlangton.com" },
|
|
// The website hosts move from hex-voice-site to this Worker.
|
|
{ "pattern": "hex.kitlangton.dev", "custom_domain": true },
|
|
{ "pattern": "hex.kitlangton.com", "custom_domain": true },
|
|
],
|
|
}
|