fix: increase axios timeout to 60s to fix photo upload failure
This commit is contained in:
@ -9,7 +9,7 @@ const service = axios.create({
|
||||
// 设置为 '/api',请求会自动拼接成 http://localhost:5173/api/...
|
||||
// 然后被 Vite 代理转发到 http://127.0.0.1:8000/api/...
|
||||
baseURL: '/api',
|
||||
timeout: 5000
|
||||
timeout: 60000
|
||||
})
|
||||
|
||||
// ============================================================
|
||||
|
||||
Reference in New Issue
Block a user