Use window.location.host so that websites run on non-standard ports include the port

This commit is contained in:
sgtwilko authored and GitHub committed 2024-08-30 01:01:44 +01:00
1 parent 22d900a831
commit fd9e327c85
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:",
},
});