Urlaubsmodus implementiert - Globale Checkbox zum Deaktivieren des Schedulers
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user