Skip to content

Commit

Permalink
BUG: fix the name of cors-allow-methods annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmatmati committed Apr 12, 2022
1 parent 6202e55 commit 660488b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/annotations/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func Frontend(i *store.Ingress, r *rules.Rules, m maps.MapFiles) []Annotation {
// always put cors-enable annotation before any oth
resSetCORS.NewAnnotation("cors-enable"),
resSetCORS.NewAnnotation("cors-allow-origin"),
resSetCORS.NewAnnotation("cors-allow-method"),
resSetCORS.NewAnnotation("cors-allow-methods"),
resSetCORS.NewAnnotation("cors-allow-headers"),
resSetCORS.NewAnnotation("cors-max-age"),
}
Expand Down

0 comments on commit 660488b

Please sign in to comment.