Merge pull request #123 from Cobular/patch-1

Fix default websocket port!
pull/192/head
Ty Fiero 10 months ago committed by GitHub
commit dd415dbd94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -668,7 +668,7 @@ void websocket_setup(String server_domain, int port)
return;
}
Serial.println("connected to WiFi");
webSocket.begin(server_domain, 80, "/");
webSocket.begin(server_domain, port, "/");
webSocket.onEvent(webSocketEvent);
// webSocket.setAuthorization("user", "Password");
webSocket.setReconnectInterval(5000);
@ -798,4 +798,4 @@ void loop()
M5.update();
webSocket.loop();
}
}
}

Loading…
Cancel
Save