FIX: also add Discourse-Visible to allowed headers for message bus
This commit is contained in:
parent
0bfc8104ad
commit
0f1495e64e
|
@ -27,7 +27,7 @@ def setup_message_bus_env(env)
|
|||
{
|
||||
"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"
|
||||
"Access-Control-Allow-Headers" => "X-SILENCE-LOGGER, X-Shared-Session-Key, Dont-Chunk, Discourse-Visible"
|
||||
},
|
||||
user_id: user_id,
|
||||
group_ids: group_ids,
|
||||
|
|
Loading…
Reference in New Issue