fix: websocket基础url

This commit is contained in:
fit2cloud-chenyw 2023-09-06 21:37:51 +08:00
parent 0e74b654e9
commit d02fb3ac5c

View File

@ -4,7 +4,7 @@ import Stomp from 'stompjs'
import store from '@/store'
class DeWebsocket {
constructor() {
this.ws_url = '/websocket'
this.ws_url = `${process.env.VUE_APP_BASE_API}websocket`
this.client = null
this.channels = [
{