From c72ca922447fc682e38b3bb545eb9c17a2becd7a Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Sun, 31 May 2026 08:56:27 -0400 Subject: [PATCH] feat(analytics): load Umami first-party via /_a (ADR-0006 Phase 2c) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch the api.jellyrock.app footer tracker from cross-origin analytics.jellyrock.app/script.js to the same-origin /_a proxy (live since infra #27): Events POST to /_a/api/send → Caddy strips to umami's /api/send. Works under the current CSP (/_a/script.js is 'self'); shared CSP tightens in the final infra phase. analytics.jellyrock.app stays live as rollback (Bridge scope). Verified: jsdoc.json is valid JSON; footer embeds /_a/script.js + data-host-url with zero analytics.jellyrock.app references. --- jsdoc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsdoc.json b/jsdoc.json index e3aee69c..535d2f0c 100644 --- a/jsdoc.json +++ b/jsdoc.json @@ -49,7 +49,7 @@ "id": "jellyfin-link" } ], - "footer": "Automatically generated using JSDoc and the clean-jsdoc-theme." + "footer": "Automatically generated using JSDoc and the clean-jsdoc-theme." } }, "markdown": {