first test

This commit is contained in:
Tomas Dvorak
2026-02-08 14:14:55 +01:00
parent 18aa702174
commit d27cf14110
372 changed files with 98089 additions and 2585 deletions
+15
View File
@@ -0,0 +1,15 @@
package handlers
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/trackeep/backend/middleware"
)
// DemoStatus returns the current demo mode status
func DemoStatus(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"demoMode": middleware.IsDemoMode(),
})
}