mirror of https://github.com/s00500/ESPUI.git
Restored missing port identifier for custom port support.
This commit is contained in:
parent
8b64b185a4
commit
46ad206a49
|
@ -231,7 +231,7 @@ function start() {
|
||||||
port != 80 ||
|
port != 80 ||
|
||||||
port != 443
|
port != 443
|
||||||
) {
|
) {
|
||||||
websock = new WebSocket( "ws://" + location + "/ws" );
|
websock = new WebSocket( "ws://" + location + ":" + port + "/ws" );
|
||||||
} else {
|
} else {
|
||||||
websock = new WebSocket("ws://" + location + "/ws");
|
websock = new WebSocket("ws://" + location + "/ws");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue