From 0a2e14c473875440944efaa194e220e9a7c479c2 Mon Sep 17 00:00:00 2001 From: Julie <22972550+Cobular@users.noreply.github.com> Date: Fri, 22 Mar 2024 21:08:17 -0700 Subject: [PATCH] Fix default websocket port! --- software/source/clients/esp32/src/client/client.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/source/clients/esp32/src/client/client.ino b/software/source/clients/esp32/src/client/client.ino index ee18163..ead53ec 100644 --- a/software/source/clients/esp32/src/client/client.ino +++ b/software/source/clients/esp32/src/client/client.ino @@ -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(); } -} \ No newline at end of file +}