Skip to content

Commit

Permalink
chore: check location
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Oct 21, 2024
1 parent ee5cd18 commit a1b46cb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions frontend/src/screens/BackupNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,27 @@ export function BackupNode() {
again to restore your backup.
</AlertDescription>
</Alert>
<Alert>
<InfoCircledIcon className="h-4 w-4" />
<AlertTitle>Window Information</AlertTitle>
<AlertDescription>
{JSON.stringify(
{
href: window.location.href,
protocol: window.location.protocol,
host: window.location.host,
hostname: window.location.hostname,
port: window.location.port,
pathname: window.location.pathname,
search: window.location.search,
hash: window.location.hash,
origin: window.location.origin,
},
null,
2
)}
</AlertDescription>
</Alert>
{showPasswordScreen ? (
<Container>
<h1 className="text-xl font-medium">Enter unlock password</h1>
Expand Down

0 comments on commit a1b46cb

Please sign in to comment.