import axios from 'axios' /** 同源请求:开发由 Vite 代理到后端,生产由 FastAPI 统一托管。 */ export const http = axios.create({ baseURL: '', timeout: 60000 })