Merge pull request #285 from sgtwilko/patch-1

Use window.location.host so that websites run on non-standard ports i…
This commit is contained in:
Tom Fifield authored and GitHub committed 2025-02-12 08:48:17 +08:00
commit f2a2e5ddf2
1 file changed
+1 -1
@@ -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:",
},
});