FIX: also add Discourse-Visible to allowed headers for message bus

This commit is contained in:
Neil Lalonde 2017-03-06 16:00:31 -05:00
parent 0bfc8104ad
commit 0f1495e64e
1 changed files with 1 additions and 1 deletions

View File

@ -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,