From: Amazingca Date: Fri, 8 May 2026 08:09:39 +0000 (-0600) Subject: Fix link sharing because of Cloudflare Workers routing bug X-Git-Url: http://git.amazingca.dev/?a=commitdiff_plain;h=ebfbb6c801756153bc7dbb4a9e0b88d685f7d6d8;p=autumn%2Ftodo Fix link sharing because of Cloudflare Workers routing bug --- 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)) {