mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -74,7 +74,7 @@ def getHomePage():
|
||||
cfg = getCfg()
|
||||
auth = cfg['username']+':'+cfg['password']
|
||||
rand_path = cfg['path']
|
||||
url = 'http://' + auth + '@' + ip + ':' + port + '/' + rand_path + '/index.php'
|
||||
url = 'http://' + auth + '@' + ip + ':' + port + '/'
|
||||
return mw.returnJson(True, 'OK', url)
|
||||
except Exception as e:
|
||||
return mw.returnJson(False, '插件未启动!')
|
||||
|
||||
Reference in New Issue
Block a user