From 35e5cb916391e98181169d0228fc23514362988f Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 18 Jun 2026 00:44:14 +0000 Subject: 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 --- cmd/dashboard/main.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmd') 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) -- cgit v1.2.3