[feat] cors plugin add a config field: override_origin #7261
WALL-E
started this conversation in
Ideas and feature requests
Replies: 2 comments
-
@WALL-E would you consider submitting a PR for this functionality? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@p0pr0ck5 OK |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A boolean value that instructs the plugin to set the config.origins from request headers "Origin" as the value.
The user has the ability to turn off this feature.
https://github.com/Mashape/kong/blob/master/kong/plugins/cors/handler.lua#L69L82
Beta Was this translation helpful? Give feedback.
All reactions