summaryrefslogtreecommitdiff
path: root/cmd/dashboard
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-06-18 00:44:14 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-06-18 00:44:14 +0000
commit35e5cb916391e98181169d0228fc23514362988f (patch)
tree18e378d20e8e16c076a8eb62566a1b890666e740 /cmd/dashboard
parent1b1e6d6165531b4489f665bb0fd46e2d996de19f (diff)
feat: add scout service mount to gateway
Wires scout listing feed (SCOUT_URL env var) into the service gateway loop. Set SCOUT_URL=http://127.0.0.1:8081 to expose it at /scout/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd/dashboard')
-rw-r--r--cmd/dashboard/main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 596932a..7eb5761 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -186,6 +186,13 @@ func main() {
prefix: "/playground",
})
}
+ if cfg.ScoutURL != "" {
+ mounts = append(mounts, serviceMount{
+ name: "scout",
+ upstream: cfg.ScoutURL,
+ prefix: "/scout",
+ })
+ }
// Rate limiter for auth endpoints
authRateLimiter := appmiddleware.NewRateLimiter(config.AuthRateLimitRequests, config.AuthRateLimitWindow)