-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
CORS: how is the AllowOriginFunc struct field meant to be unmarshalled from YAML? #2535
Closed
3 tasks done
Labels
Comments
This is ordinary copy/paste, people imitate how thing look like in same file. |
Feel free to send PR to remove those parts. There are probably other middlewares with fields like that |
Thanks for clarifying. I thought I was missing something. |
@jub0bs , would you like to send PR for it? |
@aldas Not at this time. Perhaps later. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
The
CORSConfig
struct type has the following field:The field tag puzzles me. How is such a function meant to be unmarshalled from YAML?
Checklist
Version/commit
v4.11.2
The text was updated successfully, but these errors were encountered: