diff --git a/internal/servers/controller/handler.go b/internal/servers/controller/handler.go index c430c64a5..eedf9a9f3 100644 --- a/internal/servers/controller/handler.go +++ b/internal/servers/controller/handler.go @@ -45,10 +45,10 @@ func (c *Controller) handler(props HandlerProperties) (http.Handler, error) { if err != nil { panic(err) } - c.logger.Warn("serving passthrough files at /passthrough", "path", abs) + c.logger.Warn("serving passthrough files at /", "path", abs) fs := http.FileServer(http.Dir(abs)) - prefixHandler := http.StripPrefix("/passthrough/", fs) - mux.Handle("/passthrough/", prefixHandler) + prefixHandler := http.StripPrefix("/", fs) + mux.Handle("/", prefixHandler) } h, err := handleGrpcGateway(c)