Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TranslateCORSPolicy (0.14 sec)

  1. pilot/pkg/networking/core/route/route.go

    		return wrapperspb.Bool(false)
    	}
    
    	// This is the default behavior before envoy 1.30.
    	return wrapperspb.Bool(true)
    }
    
    // TranslateCORSPolicy translates CORS policy
    func TranslateCORSPolicy(proxy *model.Proxy, in *networking.CorsPolicy) *cors.CorsPolicy {
    	if in == nil {
    		return nil
    	}
    
    	// CORS filter is enabled by default
    	out := cors.CorsPolicy{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top