mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -04:00
Hide URL in embed mode
This commit is contained in:
parent
cb934dba31
commit
de2de61642
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue