fix: 更新API基础URL为www.qf1121.top

修改API基础URL以使用www子域名,确保请求能够正确路由
This commit is contained in:
qingfeng1121
2025-12-11 14:48:08 +08:00
parent 0cbb91077d
commit 07ce8409e1

View File

@@ -4,7 +4,7 @@ import { ElMessage } from 'element-plus'
// 创建axios实例 // 创建axios实例
const api = axios.create({ const api = axios.create({
baseURL: 'http://qf1121.top/api', // API基础URL baseURL: 'http://www.qf1121.top/api', // API基础URL
timeout: 10000, // 请求超时时间 timeout: 10000, // 请求超时时间
withCredentials: true // 允许跨域请求携带凭证如cookies withCredentials: true // 允许跨域请求携带凭证如cookies
}) })