skimdz86 commented on code in PR #9365:
URL: https://github.com/apache/apisix/pull/9365#discussion_r1409618557
##########
apisix/plugins/cors.lua:
##########
@@ -202,9 +236,20 @@ local function set_cors_headers(conf, ctx)
if conf.allow_credential then
core.response.set_header("Access-Control-Allow-Credentials", true)
end
+
+ if ctx.timing_allow_origin then
+ core.response.set_header("Timing-Allow-Origin",
ctx.timing_allow_origin)
Review Comment:
ok, useless, I may have forgotten to remove it when I decoupled the logic of
classic cors and timing headers. I'll remove it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]