update
This commit is contained in:
parent
e728ec582e
commit
1c5e0f2a69
3
.gitignore
vendored
3
.gitignore
vendored
@ -20,4 +20,5 @@
|
|||||||
/.env.local
|
/.env.local
|
||||||
|
|
||||||
|
|
||||||
v3dApp/
|
v3dApp/
|
||||||
|
*.zip
|
@ -7,9 +7,7 @@ export const SocketContextProvider = (props) => {
|
|||||||
const [hisState, setHisState] = useState(null);
|
const [hisState, setHisState] = useState(null);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const socket = new WebSocket(
|
const socket = new WebSocket('ws://172.16.1.55:8081/xc-screen/websocket/1');
|
||||||
'ws://192.168.1.12:8081/xc-screen/websocket/1',
|
|
||||||
);
|
|
||||||
socket.onopen = () => {
|
socket.onopen = () => {
|
||||||
console.log('[*] socket connected!');
|
console.log('[*] socket connected!');
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user