diff --git a/base/rules.db b/base/rules.db index ac85e9ddb78c6a8af25be03362f114630b12cffa..53cd7d8bc1f26dd82a324c6b9b11ef531012d281 100644 Binary files a/base/rules.db and b/base/rules.db differ diff --git a/controllers/home.py b/controllers/home.py index fd3f529b059a8008efe9d05ae39af17faf555e80..2b9ef384a7fccab77e511c52771128b832b8625b 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