|
@@ -18,7 +18,8 @@ interface ResponseData<T = any> {
|
|
}
|
|
}
|
|
|
|
|
|
const _axios = axios.create({
|
|
const _axios = axios.create({
|
|
- baseURL: import.meta.env.VITE_API_BASE,
|
|
|
|
|
|
+ // baseURL: import.meta.env.VITE_API_BASE,
|
|
|
|
+ baseURL: '/api',
|
|
})
|
|
})
|
|
const cancelMethods: Record<string, Canceler> = {}
|
|
const cancelMethods: Record<string, Canceler> = {}
|
|
|
|
|