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
This commit is contained in:
13
README.md
13
README.md
@@ -37,9 +37,9 @@ RedFlag lets you manage software updates across all your servers from one dashbo
|
|||||||
|-----------|---------------|-------------------|
|
|-----------|---------------|-------------------|
|
||||||
|  |  |  |
|
|  |  |  |
|
||||||
|
|
||||||
| Windows Update History | History Tracking | Docker Integration |
|
| Live Operations |
|
||||||
|------------------------|------------------|-------------------|
|
|-----------------|
|
||||||
|  |  |  |
|
|  |
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>More Screenshots</b> (click to expand)</summary>
|
<summary><b>More Screenshots</b> (click to expand)</summary>
|
||||||
@@ -52,9 +52,9 @@ RedFlag lets you manage software updates across all your servers from one dashbo
|
|||||||
|---------------------|----------------------|------------|
|
|---------------------|----------------------|------------|
|
||||||
|  |  |  |
|
|  |  |  |
|
||||||
|
|
||||||
| Live Operations |
|
| Windows Update History | History Tracking | Docker Integration |
|
||||||
|-----------------|
|
|------------------------|------------------|-------------------|
|
||||||
|  |
|
|  |  |  |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -191,7 +191,6 @@ For production deployments:
|
|||||||
**Planned Features:**
|
**Planned Features:**
|
||||||
- Proxmox VM/container integration
|
- Proxmox VM/container integration
|
||||||
- Agent auto-update system
|
- Agent auto-update system
|
||||||
- WebSocket real-time updates
|
|
||||||
- Mobile-responsive dashboard improvements
|
- Mobile-responsive dashboard improvements
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -23,10 +23,13 @@ func startWelcomeModeServer() {
|
|||||||
// Add CORS middleware
|
// Add CORS middleware
|
||||||
router.Use(middleware.CORSMiddleware())
|
router.Use(middleware.CORSMiddleware())
|
||||||
|
|
||||||
// Health check (both endpoints for compatibility)
|
// Health check (all endpoints for compatibility)
|
||||||
router.GET("/health", func(c *gin.Context) {
|
router.GET("/health", func(c *gin.Context) {
|
||||||
c.JSON(200, gin.H{"status": "waiting for configuration"})
|
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) {
|
router.GET("/api/v1/health", func(c *gin.Context) {
|
||||||
c.JSON(200, gin.H{"status": "waiting for configuration"})
|
c.JSON(200, gin.H{"status": "waiting for configuration"})
|
||||||
})
|
})
|
||||||
@@ -159,6 +162,9 @@ func main() {
|
|||||||
router.GET("/health", func(c *gin.Context) {
|
router.GET("/health", func(c *gin.Context) {
|
||||||
c.JSON(200, gin.H{"status": "healthy"})
|
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 routes
|
||||||
api := router.Group("/api/v1")
|
api := router.Group("/api/v1")
|
||||||
|
|||||||
Reference in New Issue
Block a user