From 2702940c3ff5317725f5954a5cbd8f42fcf1f4b7 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 8 Oct 2024 16:51:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 41b81f3e..8d509a97 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -8,7 +8,7 @@ let ypfile = rulepath + "yundisk.json"; let tvfile = rulepath + "live.txt"; let cfgfile = rulepath + "config.json"; let sortfile = rulepath + "jksort.json"; -let codepath = config.依赖?config.依赖.match(/http(s)?:\/\/.*\//)[0]:module.modulePath.slice(0, module.modulePath.lastIndexOf("/")+1); +let codepath = module.modulePath.slice(0, module.modulePath.lastIndexOf("/")+1); let gzip = $.require(codepath + "plugins/gzip.js"); let Juconfig= {};