mirror of
https://github.com/meshtastic/web.git
synced 2026-05-19 03:35:06 -04:00
Use window.location.host so that websites run on non-standard ports include the port
This commit is contained in:
@@ -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:",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user