Browse Source
Merge pull request #285 from sgtwilko/patch-1
Use window.location.host so that websites run on non-standard ports i…
pull/423/head
Tom Fifield
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/components/PageComponents/Connect/HTTP.tsx
|
|
@ -23,7 +23,7 @@ export const HTTP = ({ closeDialog }: TabElementProps): JSX.Element => { |
|
|
window.location.hostname, |
|
|
window.location.hostname, |
|
|
) |
|
|
) |
|
|
? "meshtastic.local" |
|
|
? "meshtastic.local" |
|
|
: window.location.hostname, |
|
|
: window.location.host, |
|
|
tls: location.protocol === "https:", |
|
|
tls: location.protocol === "https:", |
|
|
}, |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
|