Fix tailscale regression

This commit is contained in:
Alessandro Pignotti 2024-10-16 17:56:35 +02:00
parent 2f4a22a659
commit 9d841e48a4

View file

@ -6,8 +6,8 @@ let controlUrl = undefined;
if(browser)
{
let params = new URLSearchParams("?"+window.location.hash.substr(1));
authKey = params.get("authKey");
controlUrl = params.get("controlUrl");
authKey = params.get("authKey") || undefined;
controlUrl = params.get("controlUrl") || undefined;
}
let dashboardUrl = controlUrl ? null : "https://login.tailscale.com/admin/machines";
let resolveLogin = null;