diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua index e85f4201..b52f4b44 100644 --- a/plugins/mod_http.lua +++ b/plugins/mod_http.lua @@ -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) |