High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
feat: serve dashboard at / (root) in addition to /dashboard for better UX
Mario0b5b97e2baac
diff --git a/internal/dashboard/dashboard.go b/internal/dashboard/dashboard.goindex 82a49cde..2d6ed888 100644--- a/internal/dashboard/dashboard.go+++ b/internal/dashboard/dashboard.go@@ -273,10 +273,15 @@ func (d *Dashboard) GetAgents() []AgentActivity {}func (d *Dashboard) RegisterHandlers(mux *http.ServeMux) {+ // Dashboard UI available at both / and /dashboard+ mux.Handle("GET /", d.withNoCache(http.HandlerFunc(d.handleDashboardUI)))mux.Handle("GET /dashboard", d.withNoCache(http.HandlerFunc(d.handleDashboardUI)))++ // API endpointsmux.HandleFunc("GET /dashboard/agents", d.handleAgents)mux.HandleFunc("GET /dashboard/events", d.handleSSE)+ // Static files served at /dashboard/sub, _ := fs.Sub(dashboardFS, "dashboard")static := http.StripPrefix("/dashboard/", http.FileServer(http.FS(sub)))mux.Handle("GET /dashboard/", d.withNoCache(static))