Protocol appears to include the : delimiter
This commit is contained in:
Jon "The Nice Guy" Spriggs
2024-10-22 10:19:16 +01:00
committed by GitHub
parent c1fcadaefe
commit f8281c8057

View File

@@ -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
}