Skip to content

armgit / soju

Public Imported from GitHub
0

Play Windows games on Apple Silicon Macs. Free, open-source app that installs the official Battle.net, Steam, Epic and GOG launchers and lists your games in one library.

site-worker: drop account details and the wrangler cache from the repo

mikey92e240073d136f
diff --git a/site-worker/.gitignore b/site-worker/.gitignore
new file mode 100644
index 00000000000..b75a0fa9c31
--- /dev/null
+++ b/site-worker/.gitignore
@@ -0,0 +1 @@
+.wrangler/
diff --git a/site-worker/.wrangler/cache/wrangler-account.json b/site-worker/.wrangler/cache/wrangler-account.json
deleted file mode 100644
index db3c4fb1dbe..00000000000
--- a/site-worker/.wrangler/cache/wrangler-account.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "account": {
- "id": "9c347ae8450edb702bdf469cd4a19f7e",
- "name": "[email protected]'s Account"
- }
-}
\ No newline at end of file
diff --git a/site-worker/README.md b/site-worker/README.md
index 1d7f186e148..c04151352bc 100644
--- a/site-worker/README.md
+++ b/site-worker/README.md
@@ -2,8 +2,8 @@ Cloudflare Worker that serves the GitHub Pages site (docs/) at didimlabs.com, so
curl -fsSL didimlabs.com/install.sh | bash
-didimlabs.com is in the fdmk.noreply Cloudflare account: deploy with
+It also answers POST /api/didim/download for the Didim Labs Store (needs the POLAR_TOKEN secret).
- HOME=~/.tagmatch-cloudflare npx [email protected] deploy -c wrangler.didimlabs.toml
-
-The old soju.snack-wrap.com address (mikey9220 account, `wrangler deploy`) redirects every path to didimlabs.com.
+Two deployments use this code: `wrangler.didimlabs.toml` for didimlabs.com and `wrangler.toml` for the old
+soju.snack-wrap.com address, which only redirects to didimlabs.com. They live in different Cloudflare accounts;
+the maintainers' private ops notes say which login deploys which.
diff --git a/site-worker/wrangler.didimlabs.toml b/site-worker/wrangler.didimlabs.toml
index 65d12fecbd8..c05312c69ed 100644
--- a/site-worker/wrangler.didimlabs.toml
+++ b/site-worker/wrangler.didimlabs.toml
@@ -1,9 +1,7 @@
-# didimlabs.com lives in the fdmk.noreply Cloudflare account: deploy with
-# HOME=~/.tagmatch-cloudflare npx [email protected] deploy -c wrangler.didimlabs.toml
+# didimlabs.com. Deploy with the Cloudflare account that owns the zone (set CLOUDFLARE_ACCOUNT_ID).
name = "soju-site"
main = "worker.js"
compatibility_date = "2026-08-01"
-account_id = "546296716e02539841fba47503c600b0"
[[routes]]
pattern = "didimlabs.com"
diff --git a/site-worker/wrangler.toml b/site-worker/wrangler.toml
index ccbbeb76211..2742446b7a4 100644
--- a/site-worker/wrangler.toml
+++ b/site-worker/wrangler.toml
@@ -1,4 +1,4 @@
-# Old address in the mikey9220 Cloudflare account: only redirects to didimlabs.com (see worker.js).
+# Old address: only redirects to didimlabs.com (see worker.js).
name = "soju-site"
main = "worker.js"
compatibility_date = "2026-08-01"