fix: reload and parse msg

This commit is contained in:
手瓜一十雪 committed 2025-02-04 19:34:51 +08:00
1 parent 10890991cd
commit a956efa95d
3 files changed
+12 -8

No files matched your search

@@ -15,7 +15,7 @@ import { useWebSocketDebug } from '@/hooks/use-websocket-debug'
export default function WSDebug() {
const url = new URL(window.location.origin)
url.port = '3000'
url.port = '3001'
url.protocol = 'ws:'
const defaultWsUrl = url.href
const [socketConfig, setSocketConfig] = useLocalStorage(key.wsDebugConfig, {