Urlaubsmodus implementiert - Globale Checkbox zum Deaktivieren des Schedulers

This commit is contained in:
2025-08-22 08:35:13 +02:00
parent 0488e4ec47
commit 1dfa0c9b32
6 changed files with 194 additions and 1 deletions

View File

@ -79,6 +79,10 @@ func main() {
r.GET("/api/logs", pcHandler.GetAllLogs)
r.GET("/api/logs/pc/:id", pcHandler.GetLogsByPCID)
r.GET("/api/logs/pc/:id/recent", pcHandler.GetRecentLogsByPCID)
// Settings-API
r.GET("/api/settings/vacation-mode", pcHandler.GetVacationMode)
r.POST("/api/settings/vacation-mode", pcHandler.SetVacationMode)
// Statische Dateien bereitstellen (nach den spezifischen Routen)
r.Static("/static", "./web/static")