fix: 前端采用sockjs

This commit is contained in:
tim
2025-08-22 23:57:03 +08:00
parent 605654ec99
commit d2bd949ac8

View File

@@ -13,7 +13,7 @@ const connect = (token) => {
const config = useRuntimeConfig()
const API_BASE_URL = config.public.apiBaseUrl
const socketUrl = `${API_BASE_URL}/api/ws`
const socketUrl = `${API_BASE_URL}/api/sockjs`
const socket = new SockJS(socketUrl)
const stompClient = new Client({