From aa8f6b71002ea1120890b011dd6e7448219a3c42 Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Tue, 18 Oct 2022 13:48:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9C=E7=A8=8B=E5=9C=B0=E5=9D=80=E6=B2=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=9A=84=E8=AF=9D=E8=87=AA=E5=8A=A8=E5=8F=96?= =?UTF-8?q?=E5=B1=80=E5=9F=9F=E7=BD=91Ip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/rules.db | Bin 86016 -> 86016 bytes controllers/home.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/base/rules.db b/base/rules.db index ac85e9ddb78c6a8af25be03362f114630b12cffa..53cd7d8bc1f26dd82a324c6b9b11ef531012d281 100644 GIT binary patch delta 82 zcmZozz}m2Yb%Hdb@kAMCM&peMYwDS}m^Sk@baFE0O`g%2rJ}^l!XRrI;Nut>9~$J7 mQBqQ1rLUiyTdbFtpPiYgS5TB%T)bJW>k~7h>}JWn=LZ2S#T(H8 delta 49 zcmV-10M7q_pap=S1&|v7GLalZ0Wz^*tbYOyB(n~Hi3tIclbDHWldOy+vnGo20|5`S H8II?{sNfQr diff --git a/controllers/home.py b/controllers/home.py index fd3f529..2b9ef38 100644 --- a/controllers/home.py +++ b/controllers/home.py @@ -275,7 +275,8 @@ def config_gen(): host1 = getHost(1) jxs = getJxs(host=host1) set_area = render_template('config.txt',pys=pys,rules=rules,alists=alists,alists_str=alists_str,live_url=get_live_url(new_conf,1),mode=1,js_mode=js_mode,host=host1,jxs=jxs) - host2 = getHost(2) + host2 = getHost(2) or host1 + # print('远程地址:'+host2) jxs = getJxs(host=host2) set_online = render_template('config.txt',pys=pys,rules=rules,alists=alists,alists_str=alists_str,live_url=get_live_url(new_conf,2),mode=1,js_mode=js_mode,host=host2,jxs=jxs) ali_token = new_conf.ALI_TOKEN -- GitLab