🔧 修改axios配置

This commit is contained in:
bunny 2025-06-29 14:29:42 +08:00
parent 7065fdc3df
commit d50e19609a
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
// axios 配置 // axios 配置
const axiosInstance = axios.create({ const axiosInstance = axios.create({
baseURL: 'http://localhost:8800/api', baseURL: 'http://localhost:8800/api',
// timeout: 50000, timeout: 10000,
timeout: 1000,
headers: {'Content-Type': 'application/json;charset=utf-8'}, headers: {'Content-Type': 'application/json;charset=utf-8'},
}); });