Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(demo): allow AI chat in read-only mode

rcourtman1527e962fec0
diff --git a/internal/api/demo_middleware.go b/internal/api/demo_middleware.go
index 7709809c42..57cd893f47 100644
--- a/internal/api/demo_middleware.go
+++ b/internal/api/demo_middleware.go
@@ -38,6 +38,8 @@ func DemoModeMiddleware(cfg *config.Config, next http.Handler) http.Handler {
"/api/oidc/login",
"/api/oidc/callback",
"/api/logout",
+ // Allow AI chat interaction (mocked in backend if key missing)
+ "/api/ai/execute",
}
for _, path := range authPaths {
if r.URL.Path == path {