diff options
Diffstat (limited to 'cmd/dashboard/main.go')
| -rw-r--r-- | cmd/dashboard/main.go | 7 |
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) |
