diff --git a/internal/api/api.go b/internal/api/api.go index 6695403e46..f3ed27c2b0 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -180,7 +180,7 @@ func (a *API) RouteGRPC() { Name("grpc") http2Route. Methods(http.MethodPost). - HeadersRegexp(http_util.ContentType, `application\/grpc(\+proto|\+json)?`). + HeadersRegexp(http_util.ContentType, `^application\/grpc(\+proto|\+json)?$`). Handler(a.grpcServer) a.routeGRPCWeb()