mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 10:25:34 +08:00
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-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, Dont-Chunk"
|
"Access-Control-Allow-Headers" => "X-SILENCE-LOGGER, X-Shared-Session-Key, Dont-Chunk, Discourse-Visible"
|
||||||
},
|
},
|
||||||
user_id: user_id,
|
user_id: user_id,
|
||||||
group_ids: group_ids,
|
group_ids: group_ids,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user