|
@ -19,7 +19,7 @@ export interface MyRequestInstance extends Axios { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const axiosInstance = axios.create({ |
|
|
const axiosInstance = axios.create({ |
|
|
baseURL: `${import.meta.env.PROD ? import.meta.env.VITE_PRO_PATH : ''}${axiosPre}`, |
|
|
baseURL: `${import.meta.env.PROD ? import.meta.env.VITE_PRO_PATH : import.meta.env.VITE_DEV_PATH }${axiosPre}`, |
|
|
timeout: ResultEnum.TIMEOUT, |
|
|
timeout: ResultEnum.TIMEOUT, |
|
|
}) as unknown as MyRequestInstance |
|
|
}) as unknown as MyRequestInstance |
|
|
|
|
|
|
|
|