feat: add Vite proxy, change terminal to other channel

This commit is contained in:
wancat committed 2023-08-21 20:40:05 +08:00
1 parent c3e735b627
commit c248004484
5 files changed
+11 -8

No files matched your search

+1 -3
View File
@@ -1,7 +1,5 @@
import io from 'socket.io-client'
const host = 'wss://odyssey.wancat.cc'
class SocketWrapper {
constructor() {
this.socket = null
@@ -14,7 +12,7 @@ class SocketWrapper {
this.socket.disconnect()
}
this.socket = io(host, {
this.socket = io('', {
query: {
session_id: session._id,
},