fix: OSS客户端直传
This commit is contained in:
@@ -22,7 +22,8 @@ export function useWebSocket() {
|
||||
|
||||
try {
|
||||
// const wsUrl = import.meta.env.VITE_WS_URL || "wss://g-ws.nailaoyun.cn/ws"
|
||||
const wsUrl = import.meta.env.VITE_WS_URL || 'ws://localhost:12080/ws';
|
||||
// const wsUrl = import.meta.env.VITE_WS_URL || 'ws://localhost:12080/ws';
|
||||
const wsUrl = 'wss://api.ws.g.xiaokang88.com/ws';
|
||||
// const wsUrl = import.meta.env.VITE_WS_URL || "wss://g-ws.nailaoyun.cn/ws"
|
||||
socket.value = new WebSocket(wsUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user