jblanked 9 месяцев назад
Родитель
Сommit
6ef48878be
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      callback/callback.c

+ 2 - 2
callback/callback.c

@@ -1542,8 +1542,8 @@ static void callback_submenu_lobby_choices(void *context, uint32_t index)
         bool start_ws()
         bool start_ws()
         {
         {
             char websocket_url[128];
             char websocket_url[128];
-            snprintf(websocket_url, sizeof(websocket_url), "wss://www.jblanked.com/ws/game/%s/", lobby_list[lobby_index]);
-            if (!flipper_http_websocket_start(fhttp, websocket_url, 443, "{\"Content-Type\":\"application/json\"}"))
+            snprintf(websocket_url, sizeof(websocket_url), "ws://www.jblanked.com/ws/game/%s/", lobby_list[lobby_index]);
+            if (!flipper_http_websocket_start(fhttp, websocket_url, 80, "{\"Content-Type\":\"application/json\"}"))
             {
             {
                 FURI_LOG_E(TAG, "Failed to start websocket session");
                 FURI_LOG_E(TAG, "Failed to start websocket session");
                 flipper_http_free(fhttp);
                 flipper_http_free(fhttp);