From 801cdcafcab0792ef1b32e098ed6f85930ec0d03 Mon Sep 17 00:00:00 2001 From: sudacode Date: Fri, 15 May 2026 02:13:20 -0700 Subject: [PATCH] fix(docs): update Plausible proxy hostname to worker.sudacode.com - Change `PLAUSIBLE_PROXY_HOSTNAME` from `worker.subminer.moe` to `worker.sudacode.com` - Update test assertion to match new hostname --- docs-site/.vitepress/config.ts | 2 +- docs-site/plausible.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-site/.vitepress/config.ts b/docs-site/.vitepress/config.ts index 70488069..04f82d7d 100644 --- a/docs-site/.vitepress/config.ts +++ b/docs-site/.vitepress/config.ts @@ -1,5 +1,5 @@ const DOCS_HOSTNAME = 'https://docs.subminer.moe'; -const PLAUSIBLE_PROXY_HOSTNAME = 'https://worker.subminer.moe'; +const PLAUSIBLE_PROXY_HOSTNAME = 'https://worker.sudacode.com'; const PLAUSIBLE_SITE_SCRIPT_PATH = '/js/pa-h28Pn9ppgTJRmiSJlyPT6.js'; const PLAUSIBLE_ENDPOINT = `${PLAUSIBLE_PROXY_HOSTNAME}/api/event`; const PLAUSIBLE_INIT_SCRIPT = [ diff --git a/docs-site/plausible.test.ts b/docs-site/plausible.test.ts index 2d3582da..1b260133 100644 --- a/docs-site/plausible.test.ts +++ b/docs-site/plausible.test.ts @@ -11,7 +11,7 @@ const docsPackageContents = readFileSync(docsPackagePath, 'utf8'); test('docs site loads the docs.subminer.moe Plausible script through the analytics proxy', () => { expect(docsConfigContents).toContain("const DOCS_HOSTNAME = 'https://docs.subminer.moe'"); expect(docsConfigContents).toContain( - "const PLAUSIBLE_PROXY_HOSTNAME = 'https://worker.subminer.moe'", + "const PLAUSIBLE_PROXY_HOSTNAME = 'https://worker.sudacode.com'", ); expect(docsConfigContents).toContain( "const PLAUSIBLE_SITE_SCRIPT_PATH = '/js/pa-h28Pn9ppgTJRmiSJlyPT6.js'",