mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: subfolder offsite message bus was not returning wrong header
This commit is contained in:
parent
9cbd0f8e78
commit
a0369855b9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ end
|
|||
|
||||
MessageBus.extra_response_headers_lookup do |env|
|
||||
{
|
||||
"Access-Control-Allow-Origin" => Discourse.base_url,
|
||||
"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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue