- added settings page - can post and get data from endpoint

- moved toaster to main page
- updated config for CORS
This commit is contained in:
2025-12-02 13:45:44 +00:00
parent ce79591de0
commit dbadc7388c
8 changed files with 241 additions and 6 deletions

View File

@@ -175,3 +175,13 @@ export type ColourDetectionPayload = {
cameraFeedID: "A" | "B" | "C";
regions: ColourData[];
};
export type SystemSettings = {
deviceName: string;
localTimeZone: string;
timeSource: string;
SNTPServer: string;
SNTPIntervalMinutes: number;
primaryServer?: string;
secondaryServer?: string;
};