mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
update monitor url
This commit is contained in:
@@ -401,7 +401,7 @@ password=%s""" % (rootdbpassword, rootdbpassword)
|
|||||||
def Uptime(self):
|
def Uptime(self):
|
||||||
try:
|
try:
|
||||||
finalData = {'name': self.config['name'], 'token': self.config['token']}
|
finalData = {'name': self.config['name'], 'token': self.config['token']}
|
||||||
resp = requests.post(ClusterManager.LogURL, data=json.dumps(finalData), verify=False)
|
resp = requests.post(ClusterManager.UptimeURL, data=json.dumps(finalData), verify=False)
|
||||||
if os.path.exists(ProcessUtilities.debugPath):
|
if os.path.exists(ProcessUtilities.debugPath):
|
||||||
logging.writeToFile(resp.text + '[Uptime:info]')
|
logging.writeToFile(resp.text + '[Uptime:info]')
|
||||||
except BaseException as msg:
|
except BaseException as msg:
|
||||||
|
|||||||
Reference in New Issue
Block a user