From 8292bf86e40c9d3e02e04451d99eff0d210d6958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=A3=8A?= <37162659@qq.com> Date: Thu, 14 May 2026 20:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20frontend/vite.config.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 6d5c3a4..63f8d64 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -12,7 +12,7 @@ import basicSsl from '@vitejs/plugin-basic-ssl' // // 代理目标由环境变量 VITE_DEV_BACKEND 控制,默认 http://localhost:8085, // 若后端跑在其他主机/端口(如 docker 主机)可自行覆盖。 -const BACKEND = process.env.VITE_DEV_BACKEND || 'http://localhost:8085' +const BACKEND = process.env.VITE_DEV_BACKEND || 'http://yl.z64.cn:8085' const BACKEND_WS = BACKEND.replace(/^http/, 'ws') export default defineConfig({