wenhongquan 3 лет назад
Родитель
Сommit
cbaa6a7eb8
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/utils/index.ts

+ 1 - 2
src/utils/index.ts

@@ -66,6 +66,5 @@ export const sleep = (delay: number) =>
     setTimeout(() => resolve(''), delay);
   });
 
-export const BaseMediaUrl =
-  'http://61.147.254.211:30876/YJZH-SQ/api/common/download/resource?resource=';
+export const BaseMediaUrl = ` ${(import.meta.env.VITE_API_SERVER as string)}/YJZH-SQ/api/common/download/resource?resource=`;
   // 'http://sqpcbg.xt.wenhq.top:8083/api/common/download/resource?resource=';