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
parent
commit
f2a2e5ddf2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/PageComponents/Connect/HTTP.tsx

2
src/components/PageComponents/Connect/HTTP.tsx

@ -23,7 +23,7 @@ export const HTTP = ({ closeDialog }: TabElementProps): JSX.Element => {
window.location.hostname,
)
? "meshtastic.local"
: window.location.hostname,
: window.location.host,
tls: location.protocol === "https:",
},
});

Loading…
Cancel
Save