ziwen 2 lat temu
rodzic
commit
7e51a11614
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      services/verify.go

+ 5 - 0
services/verify.go

@@ -13,5 +13,10 @@ func CheckEncryption(urlPath string) (ok bool) {
 			ok = true
 		}
 	}
+	if urlPath != `/api/english_report/share/detail` {
+		if utils.RunMode == "release" {
+			ok = true
+		}
+	}
 	return
 }