Fix default websocket port!
This commit is contained in:
parent
f9cc6bb665
commit
0a2e14c473
|
@ -668,7 +668,7 @@ void websocket_setup(String server_domain, int port)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Serial.println("connected to WiFi");
|
Serial.println("connected to WiFi");
|
||||||
webSocket.begin(server_domain, 80, "/");
|
webSocket.begin(server_domain, port, "/");
|
||||||
webSocket.onEvent(webSocketEvent);
|
webSocket.onEvent(webSocketEvent);
|
||||||
// webSocket.setAuthorization("user", "Password");
|
// webSocket.setAuthorization("user", "Password");
|
||||||
webSocket.setReconnectInterval(5000);
|
webSocket.setReconnectInterval(5000);
|
||||||
|
|
Loading…
Reference in New Issue