Start work on search page

This commit is contained in:
Astatin3
2024-04-21 10:31:38 -06:00
parent 5599f5f9a2
commit 191b7280f0
5 changed files with 140 additions and 3 deletions
+2 -2
View File
@@ -45,14 +45,14 @@ def setSettings(ac, data):
valid = False
if valid:
# print(data)
print(data)
mm.vars['Scanner-Settings'] = data
else:
mm.sendPopupError(ac.rawClient, "Error", "There is an error in the config.")
def onStats(stats):
print(stats)
# print(stats)
for ac in mm.authServer.clients:
if ac.currentPage == "/main/dashboard":
ac.send("Scanner-Metrics", stats)