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:
@@ -310,7 +310,7 @@ class App:
|
|||||||
return data[1]
|
return data[1]
|
||||||
path = self.__cfg
|
path = self.__cfg
|
||||||
|
|
||||||
cmd = 'cd ' + self.getServerDir() + '/dashboard && ./nezha conf -u "' + \
|
cmd = 'cd ' + self.getServerDir() + '/dashboard && ./nezha conf -su "' + \
|
||||||
args['username'] + '" -p ' + args['password']
|
args['username'] + '" -p ' + args['password']
|
||||||
t = mw.execShell(cmd)
|
t = mw.execShell(cmd)
|
||||||
# print(t)
|
# print(t)
|
||||||
|
|||||||
Reference in New Issue
Block a user