Update index.py

pull/701/head
Mr Chen 3 months ago
parent cba37ae2fc
commit b8a720919f
  1. 2
      plugins/lam/index.py

@ -83,7 +83,7 @@ def getHomePage():
cfg = getCfg() cfg = getCfg()
auth = cfg['username']+':'+cfg['password'] auth = cfg['username']+':'+cfg['password']
rand_path = cfg['path'] rand_path = cfg['path']
url = 'http://' + auth + '@' + ip + ':' + port + '/' + rand_path + '/index.php' url = 'http://' + auth + '@' + ip + ':' + port + '/' + rand_path + '/templates/login.php'
return mw.returnJson(True, 'OK', url) return mw.returnJson(True, 'OK', url)
except Exception as e: except Exception as e:
return mw.returnJson(False, '插件未启动!') return mw.returnJson(False, '插件未启动!')

Loading…
Cancel
Save