From 2efe2ff2d7d0ffdb1ba4207b0500a019140189e9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 28 一月 2023 09:57:24 +0800
Subject: [PATCH] 2023-01-28

---
 src/index.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/index.js b/src/index.js
index 7d8a887..6f54818 100644
--- a/src/index.js
+++ b/src/index.js
@@ -111,6 +111,9 @@
       // GLOB.mainSystemApi = 'https://cloud.positecgroup.com/webapi/dostars'
 
       GLOB.mainSystemApi = 'https://sso.mk9h.cn/cloud/webapi/dostars'
+      if (!/^https/.test(window.location.protocol)) { // https杞崲
+        GLOB.mainSystemApi = 'http://sso.mk9h.cn/cloud/webapi/dostars'
+      }
 
       if (GLOB.watermark) {
         GLOB.dataFormat = true

--
Gitblit v1.8.0