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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user