-
Notifications
You must be signed in to change notification settings - Fork 59
Little bit refactoring cors to separate module, add auth0 config example #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…-tool-descriptions-in-gateway.yaml Fix missing tool descriptions
Signed-off-by: Slach <[email protected]>
Add cors to sse
Thanks for your contributions! It's a bit rude question, but is it possible to split this one in stacked pr so it would be easier to review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall LGTM, once this couple tiny piece are done - safe to merge.
|
||
// ApplyCORSHeaders adds the standard CORS headers to a response | ||
// For handlers that are not wrapped in middleware | ||
func ApplyCORSHeaders(w http.ResponseWriter, allowedMethods string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cors.ApplyCORSHeaders -> cors.ApplyHeaders
Contributor Agreement
By submitting this pull request, I affirm that: