From 9675ef1396ee0962cb2b9f962615907a329675b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Mon, 31 Mar 2025 18:02:28 +0800 Subject: [PATCH] =?UTF-8?q?chore(core):=20=E6=9B=B4=E6=96=B0=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mixly-sw/mixly-modules/common/loader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mixly-sw/mixly-modules/common/loader.js b/mixly-sw/mixly-modules/common/loader.js index 84e442db..7af975ce 100644 --- a/mixly-sw/mixly-modules/common/loader.js +++ b/mixly-sw/mixly-modules/common/loader.js @@ -55,10 +55,10 @@ Loader.init = () => { $('#loading').remove(); }); - if (goog.isElectron || window.location.hostname !== 'go.mixly.cn') { + if (goog.isElectron || window.location.hostname.lastIndexOf('mixly.cn') === -1) { (function(window, document) { var url = 'https://mixly.org/public/app30.html'; - if (window.location.hostname === 'go.mixly.cn') { + if (!goog.isElectron) { url = 'https://mixly.org/public/app31.html'; } function detect() {