From f8281c80575ce72639db92d6d943160a8761fadf Mon Sep 17 00:00:00 2001 From: "Jon \"The Nice Guy\" Spriggs" Date: Tue, 22 Oct 2024 10:19:16 +0100 Subject: [PATCH] Typo (#418) Protocol appears to include the : delimiter --- src/utils/netbird.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/netbird.ts b/src/utils/netbird.ts index 897d89d7..d32de7f0 100644 --- a/src/utils/netbird.ts +++ b/src/utils/netbird.ts @@ -9,7 +9,7 @@ export const getNetBirdUpCommand = () => { cmd += " --management-url " + GRPC_API_ORIGIN } if (!isNetBirdHosted()) { - let admin_url = window.location.protocol + "://" + window.location.hostname + let admin_url = window.location.protocol + "//" + window.location.hostname if (window.location.port != "") { admin_url += ":" + window.location.port }