Skip to content

Commit

Permalink
fix: fix dashboard app ws url
Browse files Browse the repository at this point in the history
  • Loading branch information
yongheng2016 committed Nov 28, 2024
1 parent bf8add8 commit 63757b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/monitoring/src/stores/AppStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ export const useSocketStore = defineStore('counter', {
start() {
const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';

let ws_url = `${protocol}//${
const ws_url = `${protocol}//${
process.env.proxyTarget || window.location.host
}/ws`;
ws_url = 'wss://desktop.yangyongheng.myterminus.com/ws';

this.websocket = new WebSocketBean({
url: ws_url,
Expand Down

0 comments on commit 63757b0

Please sign in to comment.