Urlaubsmodus implementiert - Globale Checkbox zum Deaktivieren des Schedulers
This commit is contained in:
1 parent
0488e4ec47
commit
1dfa0c9b32
6 files changed
+194
-1
No files matched your search
@@ -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