Fix default websocket port!

This commit is contained in:
Julie 2024-03-22 21:08:17 -07:00 committed by GitHub
parent f9cc6bb665
commit 0a2e14c473
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}
}