From 982750e694dbefb6590585e08dc21dc025050854 Mon Sep 17 00:00:00 2001 From: Fimeg Date: Fri, 31 Oct 2025 08:21:49 -0400 Subject: [PATCH] fix welcome mode redirect - add missing /api/health endpoint - swap Live Operations to main screenshots section - remove WebSocket reference from future features - better screenshot layout with Live Operations prominent --- README.md | 13 ++++++------- aggregator-server/cmd/server/main.go | 8 +++++++- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3f78fd1..7899c10 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ RedFlag lets you manage software updates across all your servers from one dashbo |-----------|---------------|-------------------| | ![Dashboard](Screenshots/RedFlag%20Default%20Dashboard.png) | ![Linux Agent](Screenshots/RedFlag%20Linux%20Agent%20Details.png) | ![Updates](Screenshots/RedFlag%20Updates%20Dashboard.png) | -| Windows Update History | History Tracking | Docker Integration | -|------------------------|------------------|-------------------| -| ![Windows History](Screenshots/RedFlag%20Windows%20Agent%20History%20Extended.png) | ![History](Screenshots/RedFlag%20History%20Dashboard.png) | ![Docker](Screenshots/RedFlag%20Docker%20Dashboard.png) | +| Live Operations | +|-----------------| +| ![Live Ops](Screenshots/RedFlag%20Live%20Operations%20-%20Failed%20Dashboard.png) |
More Screenshots (click to expand) @@ -52,9 +52,9 @@ RedFlag lets you manage software updates across all your servers from one dashbo |---------------------|----------------------|------------| | ![Linux History](Screenshots/RedFlag%20Linux%20Agent%20History%20Extended.png) | ![Windows Agent](Screenshots/RedFlag%20Windows%20Agent%20Details.png) | ![Agent List](Screenshots/RedFlag%20Agent%20List.png) | -| Live Operations | -|-----------------| -| ![Live Ops](Screenshots/RedFlag%20Live%20Operations%20-%20Failed%20Dashboard.png) | +| Windows Update History | History Tracking | Docker Integration | +|------------------------|------------------|-------------------| +| ![Windows History](Screenshots/RedFlag%20Windows%20Agent%20History%20Extended.png) | ![History](Screenshots/RedFlag%20History%20Dashboard.png) | ![Docker](Screenshots/RedFlag%20Docker%20Dashboard.png) |
@@ -191,7 +191,6 @@ For production deployments: **Planned Features:** - Proxmox VM/container integration - Agent auto-update system -- WebSocket real-time updates - Mobile-responsive dashboard improvements --- diff --git a/aggregator-server/cmd/server/main.go b/aggregator-server/cmd/server/main.go index 1cc0641..c80e418 100644 --- a/aggregator-server/cmd/server/main.go +++ b/aggregator-server/cmd/server/main.go @@ -23,10 +23,13 @@ func startWelcomeModeServer() { // Add CORS middleware router.Use(middleware.CORSMiddleware()) - // Health check (both endpoints for compatibility) + // Health check (all endpoints for compatibility) router.GET("/health", func(c *gin.Context) { c.JSON(200, gin.H{"status": "waiting for configuration"}) }) + router.GET("/api/health", func(c *gin.Context) { + c.JSON(200, gin.H{"status": "waiting for configuration"}) + }) router.GET("/api/v1/health", func(c *gin.Context) { c.JSON(200, gin.H{"status": "waiting for configuration"}) }) @@ -159,6 +162,9 @@ func main() { router.GET("/health", func(c *gin.Context) { c.JSON(200, gin.H{"status": "healthy"}) }) + router.GET("/api/health", func(c *gin.Context) { + c.JSON(200, gin.H{"status": "healthy"}) + }) // API routes api := router.Group("/api/v1")