liyi před 6 měsíci
rodič
revize
05ed1d5e33
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      f407/applications/html_h/ws.h

+ 2 - 2
f407/applications/html_h/ws.h

@@ -140,9 +140,9 @@ const char *p_ws =
     "    activePageIntervalId = setInterval(pageFunction, intervalTime);\n"
     "}\n"
     
-    "ws = new WS('ws://' + window.location.host + '/ws', on_ws_msg);\n"
+    " ws = new WS('ws://' + window.location.host + '/ws', on_ws_msg);\n"
     
-    "// ws = new WS('ws://192.168.1.166/ws', on_ws_msg);\n"
+    " //ws = new WS('ws://192.168.1.166/ws', on_ws_msg);\n"
     " // ws = new WS('ws://192.168.1.79/websocket/TMS-WebSocket', on_ws_msg);"
 ;