diff --git a/.env.development b/.env.development index a3101d9..1efe8bf 100644 --- a/.env.development +++ b/.env.development @@ -2,8 +2,8 @@ ENV = 'development' # 本地环境接口地址 -# VITE_API_URL = 'http://192.168.3.200:8808/' +VITE_API_URL = 'http://192.168.3.200:8808/' # VITE_API_URL = 'http://localhost:8808/' -VITE_API_URL = 'http://192.168.3.11:8808/' +# VITE_API_URL = 'http://192.168.3.11:8808/' diff --git a/src/utils/request.ts b/src/utils/request.ts index b13d68e..d229843 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -23,8 +23,8 @@ const newService: AxiosInstance = axios.create({ // baseURL: 'http://192.168.3.95:8000/', // baseURL: 'http://192.168.3.49:8000/', // baseURL: 'http://localhost:8000/', - // baseURL: 'http://192.168.3.200:8000/', - baseURL: 'http://192.168.3.11:8000/', + baseURL: 'http://192.168.3.200:8000/', + // baseURL: 'http://192.168.3.11:8000/', timeout: 50000, headers: { 'Content-Type': 'application/json' }, paramsSerializer: {