aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index ffe6963c..b26adb1c 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -163,7 +163,7 @@ function module.add_host(module)
local cors = cors_overrides[app_name] or event.item.cors;
if cors then
- if cors.enabled ~= false then
+ if cors.enabled == true then
if cors.credentials ~= nil then
app_credentials = cors.credentials;
end