Skip to content

Commit

Permalink
fix cors enable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaliMatharaarachchi authored and tharindu1st committed Apr 8, 2024
1 parent b0802cf commit 1a60104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common-go-libs/apis/dp/v1alpha2/apipolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type PolicySpec struct {
//
// +kubebuilder:default:=false
// +optional
SubscriptionValidation bool `json:"subscriptionValidation,omitempty"`
SubscriptionValidation bool `json:"subscriptionValidation"`
}

// BackendJWTToken holds backend JWT token information
Expand All @@ -76,7 +76,7 @@ type CORSPolicy struct {
//
// +kubebuilder:default=true
// +optional
Enabled bool `json:"enabled,omitempty"`
Enabled bool `json:"enabled"`

// AllowCredentials indicates whether the request can include user credentials like
// cookies, HTTP authentication or client side SSL certificates.
Expand Down

0 comments on commit 1a60104

Please sign in to comment.