This commit is contained in:
Linux User 2023-12-26 21:42:52 +00:00
parent e82c27b2ba
commit 5a918b0350
11 changed files with 502 additions and 24 deletions

View file

@ -84,7 +84,7 @@ func (app *App) RegisterApiRoutes() {
api.GET("/sse", app.Stream.SseHeadersMiddleware(), app.Stream.Stream)
// api.POST("/startheat", app.StartHeatTimer)
// api.GET("/stopheat", app.StopHeatTimer)
// api.POST("/saveheat", app.SaveHeat)
api.POST("/saveheat", app.SaveHeat)
// api.POST("/deleteheat", app.DeleteHeat)
api.GET("/loadheats", app.LoadHeats)
// api.GET("/runningheat", app.LoadRunning)