From 4273bf573a5fd5c9fa8754b47f2c5ef4ed297f4c Mon Sep 17 00:00:00 2001 From: SJC <88550136+sjcsjc123@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:04:47 +0800 Subject: [PATCH] bugfix: modify `route` to `cors` (#750) Signed-off-by: sjcsjc123 <1401189096@qq.com> --- pkg/ingress/kube/configmap/gzip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingress/kube/configmap/gzip.go b/pkg/ingress/kube/configmap/gzip.go index ce308b5e0..766b418e9 100644 --- a/pkg/ingress/kube/configmap/gzip.go +++ b/pkg/ingress/kube/configmap/gzip.go @@ -267,7 +267,7 @@ func (g *GzipController) ConstructEnvoyFilters() ([]*config.Config, error) { Filter: &networking.EnvoyFilter_ListenerMatch_FilterMatch{ Name: "envoy.filters.network.http_connection_manager", SubFilter: &networking.EnvoyFilter_ListenerMatch_SubFilterMatch{ - Name: "envoy.filters.http.router", + Name: "envoy.filters.http.cors", }, }, },