We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 395a179 + e3b7c98 commit e137921Copy full SHA for e137921
pkg/server/server.go
@@ -131,7 +131,7 @@ func (s *Server) ListenAndServe(
131
internalMux := chi.NewRouter()
132
133
internalMux.Route(pathPrefix+"/", func(r chi.Router) {
134
- r.Mount("/api", grpcWebMux)
+ r.Mount("/api", http.StripPrefix(pathPrefix+"/api", grpcWebMux))
135
136
r.Handle("/metrics", promhttp.HandlerFor(s.reg, promhttp.HandlerOpts{}))
137
0 commit comments