From 2f666df2edb92dd0b84b8361280d98d243f7623c Mon Sep 17 00:00:00 2001 From: CoolElectronics Date: Sat, 12 Aug 2023 18:13:14 -0400 Subject: [PATCH] make url bar update on navigate --- frontend/src/App.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 93c8d05..97e7647 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -139,6 +139,13 @@ ); } } + function frameLoad() { + if (!import.meta.env.VITE_ADRIFT_SINGLEFILE) { + url = __uv$config.decodeUrl( + proxyIframe.contentDocument?.location.href.replace(/.*\//g, "") + ); + } + } {#if ready} @@ -147,7 +154,7 @@ -