From aa09ef4ba02cffc016d52e2d33b9a0667be810f3 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 25 Nov 2025 10:01:40 -0800 Subject: [PATCH] bring wrangler config up to date, include in repo --- .gitignore | 1 - README.md | 3 ++- index.js => src/index.js | 0 wrangler.toml | 16 ++++++++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) rename index.js => src/index.js (100%) create mode 100644 wrangler.toml diff --git a/.gitignore b/.gitignore index a62e559..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -wrangler.toml node_modules diff --git a/README.md b/README.md index f2f4c7b..3dbf5d6 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ Broken here would mean that clicking login forces you through the multiple drop downs to select site. This section should be in your wrangler.toml file. Replace with the correct -values of course. +values of course. An example wrangler.toml file (for troop618.org) is included. + ```toml [vars] diff --git a/index.js b/src/index.js similarity index 100% rename from index.js rename to src/index.js diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..98dbde2 --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,16 @@ +name = "troop618" +account_id = "c7221b4e158b0c8f6009a627d5a6a41d" +compatibility_date = "2025-11-25" +main = "src/index.js" + +routes = [ + { pattern = "troop618.org/*", zone_id = "62922e2b7c3bb7baee2d472943cfd594" }, + { pattern = "*.troop618.org/*", zone_id = "62922e2b7c3bb7baee2d472943cfd594" } +] + +[vars] +TMSITEID = "203232" +TMSITENAME = "Troop618" + +[assets] +directory = "./static"