Fix iframe reload and service worker caching

This commit is contained in:
Scott Idem
2026-05-13 15:08:17 -04:00
parent cdcec259f7
commit 82430649db
2 changed files with 8 additions and 10 deletions

View File

@@ -35,9 +35,6 @@ let {
hide_icon = false
}: Props = $props();
// *** Import Svelte specific
import { goto } from '$app/navigation';
// *** Import other supporting libraries
import {
BadgeQuestionMark,
@@ -49,13 +46,10 @@ import {
} from '@lucide/svelte';
// *** Import Aether specific variables and functions
import {
ae_snip,
ae_loc,
ae_sess,
ae_api,
ae_trig,
slct,
slct_trigger,
type key_val
} from '$lib/stores/ae_stores';
import { api } from '$lib/api/api';
@@ -488,9 +482,8 @@ class:to-90%={$ae_sess.show_help_tech} -->
localStorage.clear();
sessionStorage.clear();
goto('/', { invalidateAll: true });
// window.location.reload();
// Reload the current iframe URL so Novi/query params stay intact.
window.location.reload();
} else {
// Confirm before clearing
if (