mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update setting.py
This commit is contained in:
@@ -121,8 +121,7 @@ class setting(object):
|
||||
if not mw.inArray(['local','nginx'], choose):
|
||||
return mw.returnData(True, '删除错误面板SSL类型!')
|
||||
|
||||
port_pl = mw.getPanelDir()+'/data/port.pl'
|
||||
port = mw.readFile(port_pl).strip()
|
||||
port = mw.getPanelPort()
|
||||
|
||||
to_panel_url = 'http://'+ip+":"+port+'/config'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user