diff --git a/config/initializers/004-message_bus.rb b/config/initializers/004-message_bus.rb index 5e28ebaa513..5faf89f9e8b 100644 --- a/config/initializers/004-message_bus.rb +++ b/config/initializers/004-message_bus.rb @@ -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,