From 0dc094167333eb91ac60dbb9d9d5babf7149dd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Fri, 13 Feb 2026 21:33:03 +0800 Subject: [PATCH] =?UTF-8?q?config:=20=E6=9B=B4=E6=96=B0=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 SOCKET_URL 从 server.websoft.top 更新为 glt-server.websoft.top - 更新用户导入模板下载链接的服务器地址 - 修改 Vite 代理配置中的 API 目标地址为新服务器 --- src/store/modules/chat.ts | 2 +- src/views/shop/shopUser/components/user-import.vue | 2 +- vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/chat.ts b/src/store/modules/chat.ts index 666320a..411dcde 100644 --- a/src/store/modules/chat.ts +++ b/src/store/modules/chat.ts @@ -8,7 +8,7 @@ import { } from '@/api/system/chat'; import { emitter } from '@/utils/common'; -const SOCKET_URL = 'wss://server.websoft.top'; +const SOCKET_URL = 'wss://glt-server.websoft.top'; interface ConnectionOptions { token: string; diff --git a/src/views/shop/shopUser/components/user-import.vue b/src/views/shop/shopUser/components/user-import.vue index 2274410..c13f518 100644 --- a/src/views/shop/shopUser/components/user-import.vue +++ b/src/views/shop/shopUser/components/user-import.vue @@ -23,7 +23,7 @@
只能上传xls、xlsx文件, 下载导入模板 diff --git a/vite.config.ts b/vite.config.ts index 2401645..a1aca06 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -68,7 +68,7 @@ export default defineConfig(({ command }) => { // 代理配置 proxy: { '/api': { - target: process.env.VITE_API_URL || 'https://server.websoft.top', + target: process.env.VITE_API_URL || 'https://glt-server.websoft.top', changeOrigin: true, secure: false, configure: (proxy, _options) => {