Skip to content

Commit

Permalink
Update netbird.ts
Browse files Browse the repository at this point in the history
Fix isNetBirdHosted check
  • Loading branch information
heisbrot authored Oct 7, 2024
1 parent 2610d1d commit f8cc57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/netbird.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const getNetBirdUpCommand = () => {
if (GRPC_API_ORIGIN) {
cmd += " --management-url " + GRPC_API_ORIGIN
}
if (!isNetBirdHosted) {
if (!isNetBirdHosted()) {
let admin_url = window.location.protocol + "://" + window.location.hostname
if (window.location.port != "") {
admin_url += ":" + window.location.port
Expand Down

0 comments on commit f8cc57f

Please sign in to comment.