We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e7bf2d commit 103a632Copy full SHA for 103a632
src/hooks/useRequest/index.ts
@@ -3,7 +3,7 @@ import AxiosInterceptor from './interceptor'
3
4
export const useRequest = () => {
5
const axiosInstance = Axios.create({
6
- baseURL: process.env.VUE_APP_BASE_URL,
+ baseURL: import.meta.env.VUE_APP_BASE_URL,
7
headers: {
8
'Content-Type': 'application/json'
9
}
0 commit comments