From 07ce8409e1fc6e1e437fbca87c6a13a498d625c3 Mon Sep 17 00:00:00 2001 From: qingfeng1121 Date: Thu, 11 Dec 2025 14:48:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0API=E5=9F=BA=E7=A1=80U?= =?UTF-8?q?RL=E4=B8=BAwww.qf1121.top?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改API基础URL以使用www子域名,确保请求能够正确路由 --- src/services/apiService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/apiService.js b/src/services/apiService.js index ff67501..3efcf76 100644 --- a/src/services/apiService.js +++ b/src/services/apiService.js @@ -4,7 +4,7 @@ import { ElMessage } from 'element-plus' // 创建axios实例 const api = axios.create({ - baseURL: 'http://qf1121.top/api', // API基础URL + baseURL: 'http://www.qf1121.top/api', // API基础URL timeout: 10000, // 请求超时时间 withCredentials: true // 允许跨域请求携带凭证(如cookies) })