Ver Fonte

强制https

sandm há 2 anos atrás
pai
commit
1f2f8525c1
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      app/common.php

+ 2 - 2
app/common.php

@@ -178,6 +178,6 @@ function getStoragePath($path) {
 }
 
 function getFileView($path){
-    $complete_path = "http://report.jinjianghc.com/".getStoragePath($path);
-    return "http://fileview.jinjianghc.com/onlinePreview?url=".base64_encode($complete_path);
+    $complete_path = "https://report.jinjianghc.com/".getStoragePath($path);
+    return "https://fileview.jinjianghc.com/onlinePreview?url=".base64_encode($complete_path);
 }