mirror of
https://github.com/StefBuwalda/dashboard_test.git
synced 2025-10-30 03:09:59 +00:00
Switched from browser refresh to update webpage with API fetch
Added an ID field to the API. Added a fetch script that updates the webpage every second.
This commit is contained in:
@@ -40,6 +40,7 @@ class service:
|
||||
"ping": self.ping,
|
||||
"label": self.label,
|
||||
"icon_filetype": self.icon_filetype,
|
||||
"id": self.id,
|
||||
}
|
||||
|
||||
def set_status(self, status: Optional[int]):
|
||||
|
||||
Reference in New Issue
Block a user