FEATURE: Cache CORS preflight for MessageBus (#14616)
* FEATURE: Cache CORS preflight for MessageBus
Followup for b301a6b
for MessageBus
This commit is contained in:
parent
c34c24ffe4
commit
6ad76520b8
|
@ -30,7 +30,8 @@ def setup_message_bus_env(env)
|
|||
extra_headers = {
|
||||
"Access-Control-Allow-Origin" => Discourse.base_url_no_prefix,
|
||||
"Access-Control-Allow-Methods" => "GET, POST",
|
||||
"Access-Control-Allow-Headers" => "X-SILENCE-LOGGER, X-Shared-Session-Key, Dont-Chunk, Discourse-Present"
|
||||
"Access-Control-Allow-Headers" => "X-SILENCE-LOGGER, X-Shared-Session-Key, Dont-Chunk, Discourse-Present",
|
||||
"Access-Control-Max-Age" => "7200",
|
||||
}
|
||||
|
||||
user = nil
|
||||
|
|
Loading…
Reference in New Issue