Изменение окна 'О программе' и улучшение визуала

This commit is contained in:
test 2025-06-23 17:18:07 +05:00
parent f4aae4f3c4
commit 81ad18d75c
15 changed files with 277 additions and 135 deletions

View file

@ -115,7 +115,7 @@ export const DevicesBar = () => {
const checkWebSocketAvailability = async (ip: string): Promise<boolean> => {
return new Promise((resolve) => {
const testSocket = new WebSocket(`wss://${ip}:8001/api/v1`);
const testSocket = new WebSocket(`ws://${ip}:8001/api/v1`);
const timeout = setTimeout(() => {
testSocket.close();
resolve(false);