aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-03 17:14:34 +0200
committerKim Alvefur <zash@zash.se>2017-04-03 17:14:34 +0200
commit221809ea04f86bcf1ebdfd09364864898bf66efb (patch)
treebc9e09b74b41b203d757b6bce82a1b9a5164056d /plugins/mod_websocket.lua
parent32e5f2919265287d5b3a98855482459ad7075fd3 (diff)
downloadprosody-221809ea04f86bcf1ebdfd09364864898bf66efb.tar.gz
prosody-221809ea04f86bcf1ebdfd09364864898bf66efb.zip
mod_websocket: Log state of cross domain set after changing it
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r--plugins/mod_websocket.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 3c96f780..d545e708 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -334,6 +334,7 @@ function module.add_host(module)
-- This might be weird with random load order
local_cross_domain:exclude(cross_domain);
cross_domain:include(local_cross_domain);
+ module:log("debug", "cross_domain = %s", cross_domain);
function module.unload()
cross_domain:exclude(local_cross_domain);
end