fix: 更新API基础URL为www.qf1121.top
修改API基础URL以使用www子域名,确保请求能够正确路由
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user