FIX: allow the Dont-Chunk header for remote message bus access

This commit is contained in:
Sam 2016-08-31 12:57:05 +10:00
parent e564f9356e
commit 50379183e1

View file

@ -27,7 +27,7 @@ def setup_message_bus_env(env)
{ {
"Access-Control-Allow-Origin" => Discourse.base_url_no_prefix, "Access-Control-Allow-Origin" => Discourse.base_url_no_prefix,
"Access-Control-Allow-Methods" => "GET, POST", "Access-Control-Allow-Methods" => "GET, POST",
"Access-Control-Allow-Headers" => "X-SILENCE-LOGGER, X-Shared-Session-Key" "Access-Control-Allow-Headers" => "X-SILENCE-LOGGER, X-Shared-Session-Key, Dont-Chunk"
}, },
user_id: user_id, user_id: user_id,
group_ids: group_ids, group_ids: group_ids,