Fix status query. Closes #36

This commit is contained in:
Ian Renton
2025-10-08 16:26:43 +01:00
parent e01b6d5ea9
commit b45fda2dd2
4 changed files with 54 additions and 39 deletions

View File

@@ -58,6 +58,7 @@ class WebServer:
self.status = "OK"
response.content_type = 'application/json'
response.set_header('Cache-Control', 'no-store')
print(data)
return json.dumps(data, default=serialize_everything)
# Accept a spot