merge
This commit is contained in:
1 parent
6fe10eacfc
commit
181132e092
1 file changed
+2
-2
@@ -8,8 +8,8 @@ namespace ZL {
|
||||
void WebSocketClientEmscripten::Connect(const std::string& host, uint16_t port) {
|
||||
// Формируем URL. Обратите внимание, что в Web часто лучше использовать ws://localhost
|
||||
//std::string url = "ws://" + host + ":" + std::to_string(port);
|
||||
//std::string url = "wss://api.spacegame.fishrungames.com";
|
||||
std::string url = "ws://localhost:8081";
|
||||
std::string url = "wss://api.spacegame.fishrungames.com";
|
||||
//std::string url = "ws://localhost:8081";
|
||||
EmscriptenWebSocketCreateAttributes attr = {
|
||||
url.c_str(),
|
||||
nullptr,
|
||||
|
||||
Reference in new issue
Block a user