This commit is contained in:
lb 2023-07-03 14:24:43 +08:00
父節點 e728ec582e
當前提交 1c5e0f2a69
共有 2 個檔案被更改,包括 3 行新增4 行删除

3
.gitignore vendored
查看文件

@ -20,4 +20,5 @@
/.env.local
v3dApp/
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!');
};