Experimental function calling across tabs
This commit is contained in:
parent
62353ff310
commit
2b4933aaba
2 changed files with 7 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
|||
await up();
|
||||
statusElem.innerHTML = "Starting login...";
|
||||
const url = await loginPromise;
|
||||
w.location.href = url;
|
||||
w.changeLocation(url);
|
||||
}
|
||||
waitLogin();
|
||||
};
|
||||
|
|
|
@ -5,6 +5,12 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Tailscale login</title>
|
||||
<script>
|
||||
function changeLocation(url)
|
||||
{
|
||||
window.location.href = url;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Loading network code...
|
||||
|
|
Loading…
Reference in a new issue