mirror of
https://github.com/netbirdio/dashboard.git
synced 2026-01-26 01:21:04 +00:00
committed by
GitHub
parent
c1fcadaefe
commit
f8281c8057
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user