2 Achegas 6131aec06d ... f243b05c3a

Autor SHA1 Mensaxe Data
  Yi f243b05c3a feat(components): cicd5 hai 5 meses
  Yi 6131aec06d feat(components): cicd5 hai 5 meses
Modificáronse 1 ficheiros con 8 adicións e 3 borrados
  1. 8 3
      src/service/request/index.ts

+ 8 - 3
src/service/request/index.ts

@@ -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' });
+ */