From 7d069cdc3edf2010ceeec0f85385c2af447e9559 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 10 Mar 2025 14:12:17 +0800
Subject: [PATCH] 配合后端修改前缀
---
src/websocket/util/config.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/websocket/util/config.js b/src/websocket/util/config.js
index 30cf37e..2329fa4 100644
--- a/src/websocket/util/config.js
+++ b/src/websocket/util/config.js
@@ -14,6 +14,6 @@
export function getWebsocketUrl() {
const token = getToken();
// const url = CURRENT_CONFIG.websocketURL
- const url = 'wss://wrj.shuixiongit.com/drone-api/api/v1/ws?x-auth-token=' + encodeURI(token);
+ const url = 'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws?x-auth-token=' + encodeURI(token);
return url;
}
--
Gitblit v1.9.3