|
@@ -19,6 +19,7 @@ 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,
|
|
|
|
+ withCredentials: true,
|
|
})
|
|
})
|
|
const cancelMethods: Record<string, Canceler> = {}
|
|
const cancelMethods: Record<string, Canceler> = {}
|
|
|
|
|