update
This commit is contained in:
parent
e728ec582e
commit
1c5e0f2a69
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@
|
||||
|
||||
|
||||
v3dApp/
|
||||
*.zip
|
@ -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!');
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user