fix: OSS客户端直传

This commit is contained in:
2025-12-24 16:05:21 +08:00
parent 84cafd66ae
commit 73f858fc07
5 changed files with 29 additions and 12 deletions

View File

@@ -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);