This commit is contained in:
lb 2023-07-03 14:24:43 +08:00
rodzic e728ec582e
commit 1c5e0f2a69
2 zmienionych plików z 3 dodań i 4 usunięć

3
.gitignore vendored
Wyświetl plik

@ -20,4 +20,5 @@
/.env.local
v3dApp/
v3dApp/
*.zip

Wyświetl plik

@ -7,9 +7,7 @@ export const SocketContextProvider = (props) => {
const [hisState, setHisState] = useState(null);
useEffect(() => {
const socket = new WebSocket(
'ws://192.168.1.12:8081/xc-screen/websocket/1',
);
const socket = new WebSocket('ws://172.16.1.55:8081/xc-screen/websocket/1');
socket.onopen = () => {
console.log('[*] socket connected!');
};