Browse Source

强制https

sandm 2 years ago
parent
commit
1f2f8525c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/common.php

+ 2 - 2
app/common.php

@@ -178,6 +178,6 @@ function getStoragePath($path) {
 }
 }
 
 
 function getFileView($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);
 }
 }