From 32f1ab850f17c83e331d261892711526a5d01a7e Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 3 Nov 2026 18:39:53 +0100 Subject: [PATCH] Connect website to the new DuneRealms Discord community --- website/scripts/build-staff.mjs | 2 +- website/tests/discord-community.test.mjs | 12 ++++++++++++ website/web/discord.html | 2 +- website/web/discord.js | 2 +- website/web/staff.html | 2 +- website/worker/community-api.mjs | 4 ++-- 6 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 website/tests/discord-community.test.mjs diff --git a/website/scripts/build-staff.mjs b/website/scripts/build-staff.mjs index 14bedf12..bcad5665 100644 --- a/website/scripts/build-staff.mjs +++ b/website/scripts/build-staff.mjs @@ -5,5 +5,5 @@ for(const file of readdirSync(web).filter(x=>x.endsWith('.html'))){let text=read const base=readFileSync(new URL('index.html',web),'utf8'),header=base.match(/
[\s\S]*?<\/header>/)[0].replace(/ aria-current="page"/g,''),menu=base.match(/