소스 검색

文件中心地址改为https

huangxiaojing 3 년 전
부모
커밋
39eadd54b0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      microserviceUserH5/static/js/vender/vue/config.js
  2. 1 1
      microserviceUserH5/vcloud/register.html

+ 1 - 1
microserviceUserH5/static/js/vender/vue/config.js

@@ -12,7 +12,7 @@ var base_url = baseUrl; //测试服务器
 //var base_url = 'http://**********'; //正式服务器
 
 
-const fileCenterApi = window.location.protocol + '//file.phone.androidscloud.com:8121';
+const fileCenterApi = 'https://file.phone.androidscloud.com:8121';
 //const fileCenterApi = 'https://prese.phone.androidscloud.com/'
 // https://prese.phone.androidscloud.com/
 // https://prese.phone.androidscloud.com/

+ 1 - 1
microserviceUserH5/vcloud/register.html

@@ -173,7 +173,7 @@
     function getHead(fileId) {
       $('.head img').attr('src', '../static/img/invite/header-img.png');
       if (fileId) {
-        $('.head img').attr('src', window.location.protocol + `//file.phone.androidscloud.com:8121/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=` + fileId);
+        $('.head img').attr('src', `https://file.phone.androidscloud.com:8121/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=` + fileId);
       }
     }
     function encrypt(word, keyStr) {