diff --git a/src/routes/testing/fix-sw/+page.svelte b/src/routes/testing/fix-sw/+page.svelte index ea0c4b4e..0e2190a2 100644 --- a/src/routes/testing/fix-sw/+page.svelte +++ b/src/routes/testing/fix-sw/+page.svelte @@ -4,6 +4,7 @@ import { onMount } from 'svelte'; let status: string[] = $state([]); let done = $state(false); let has_error = $state(false); +const origin = typeof window !== 'undefined' ? window.location.origin : ''; function log(msg: string) { status = [...status, `${new Date().toLocaleTimeString()} - ${msg}`]; @@ -142,12 +143,14 @@ onMount(() => {

Full Storage Reset

-

- Clears everything for this domain: service workers, SW cache, IndexedDB, - localStorage, sessionStorage — then reloads. +

+ Clears cached data for this site only + ({origin}): + service workers, SW cache, IndexedDB, localStorage, and sessionStorage — then reloads.

- Use this if you are completely stuck on an old version of the app and nothing else has + This does not affect any other sites or your browser history, passwords, + or settings. Use this if you are stuck on an old version of the app and nothing else has worked.