Hide URL in embed mode

This commit is contained in:
rift 2023-12-30 22:44:47 -06:00
parent cb934dba31
commit de2de61642

View file

@ -93,6 +93,10 @@ export function ProxyFrame(props: { url: string }) {
window.location.href = ProxiedUrl; window.location.href = ProxiedUrl;
} }
if (proxyMode === "embed") {
history.pushState({}, "", "/");
}
return ( return (
<div class="h-screen w-screen bg-primary"> <div class="h-screen w-screen bg-primary">
<CloakedHead <CloakedHead