Hotfix: Auto update capability.

This commit is contained in:
2025-12-19 02:17:04 +00:00
parent a9535c0b64
commit 9c7fcbc64c
4 changed files with 93 additions and 6 deletions
+1
View File
@@ -600,6 +600,7 @@ func (s *Service) setupRoutes() {
s.router.Get("/api/update/check", s.handleUpdateCheck)
s.router.Post("/api/update/apply", s.handleUpdateApply)
s.router.Get("/api/update/status", s.handleUpdateStatus)
s.router.Post("/api/update/restart", s.handleUpdateRestart)
// SSE endpoint (works before DB is ready)
s.router.Get("/api/events", s.sseBroadcaster.HandleSSE)