From ebfbb6c801756153bc7dbb4a9e0b88d685f7d6d8 Mon Sep 17 00:00:00 2001 From: Amazingca Date: Fri, 8 May 2026 02:09:39 -0600 Subject: [PATCH] Fix link sharing because of Cloudflare Workers routing bug --- app/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/settings.js b/app/settings.js index 05a2ab4..6ce9df7 100644 --- a/app/settings.js +++ b/app/settings.js @@ -34,7 +34,7 @@ document.getElementById("exportData").addEventListener("click", async (event) => theme: theme }; - const exportURL = window.location.href.replace("settings.html", "") + "index.html#" + btoa(JSON.stringify(dataExport)); + const exportURL = window.location.href.replace("settings", "").replace(".html", "") + "index.html#" + btoa(JSON.stringify(dataExport)); if (!window.navigator.userAgent.includes("Firefox") && !/(Linux|Windows|Mac)/g.test(window.navigator.platform)) { -- 2.54.0