Merge pull request #6043 from dataease/pr@dev@fix_websocket_base_url

fix: websocket基础url
This commit is contained in:
fit2cloud-chenyw 2023-09-06 21:39:03 +08:00 committed by GitHub
commit b70b22dbb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = [
{