Skip to content

Commit

Permalink
remove duplicated CORS middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
korylprince committed Nov 14, 2023
1 parent 2a038f8 commit cd3cb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/op/op.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,6 @@ func intercept(i IssuerFromRequest, interceptors ...HttpInterceptor) func(handle
for i := len(interceptors) - 1; i >= 0; i-- {
handler = interceptors[i](handler)
}
return cors.New(defaultCORSOptions).Handler(issuerInterceptor.Handler(handler))
return issuerInterceptor.Handler(handler)
}
}

0 comments on commit cd3cb17

Please sign in to comment.