From f558399da4d2e743e1b70c7e5dc04ba433f42ead Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 16 Oct 2023 19:39:24 -0400 Subject: [PATCH] fix: put browse prefix direct in the iframe --- src/components/Browser.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Browser.tsx b/src/components/Browser.tsx index b4a5f5f..91b4ce5 100644 --- a/src/components/Browser.tsx +++ b/src/components/Browser.tsx @@ -147,7 +147,7 @@ export function Navigator() { const url = new URL(input); setUrl( - `/browse/${url.hostname}${url.pathname}${url.search}${url.hash}` || + `${url.hostname}${url.pathname}${url.search}${url.hash}` || "about:blank", ); } catch (e) { @@ -190,5 +190,5 @@ export function Browser() { boot(status, auth); }, []); - return ; + return ; }