建立websocket 連線 ... var socket = null; export const connectSocket = () => { socket = new WebSocket(wsUrl); // 這邊就是剛剛上面的process.env.
確定! 回上一頁