mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 0.12->trunk
This commit is contained in:
commit
0d6c625f93
2 changed files with 3 additions and 1 deletions
|
@ -155,7 +155,7 @@ function module.add_host(module)
|
|||
local app_credentials = opt_credentials;
|
||||
local app_origins;
|
||||
if opt_origins and not (opt_origins:empty() or opt_origins:contains("*")) then
|
||||
opt_origins = opt_origins._items;
|
||||
app_origins = opt_origins._items;
|
||||
end
|
||||
|
||||
local function cors_handler(event_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue