|
@@ -5,9 +5,14 @@ const { url, proxyPattern } = getServiceEnvConfig(import.meta.env);
|
|
|
|
|
|
const isHttpProxy = import.meta.env.VITE_HTTP_PROXY === 'Y';
|
|
|
|
|
|
-export const request = createRequest({ baseURL: isHttpProxy ? proxyPattern : url });
|
|
|
+export const request = createRequest({
|
|
|
+ baseURL: isHttpProxy ? proxyPattern : url
|
|
|
+});
|
|
|
|
|
|
export const mockRequest = createRequest({ baseURL: '/mock' });
|
|
|
|
|
|
-// export const backgroundRequest = createRequest({ baseURL: 'http://vernamq8085.kptyun.com/api/v1' });
|
|
|
-export const backgroundRequest = createRequest({ baseURL: 'http://192.168.1.96:8000/api/v1' });
|
|
|
+export const backgroundRequest = createRequest({
|
|
|
+ baseURL: 'http://vernamq8085.kptyun.com/api/v1'
|
|
|
+});
|
|
|
+/* export const backgroundRequest = createRequest({ baseURL: 'http://192.168.1.96:8000/api/v1' });
|
|
|
+ */
|