aboutsummaryrefslogtreecommitdiffstats
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
commit59fa0c1c44241413fc6389aaf21561a7e9b14227 (patch)
treebc9e09b74b41b203d757b6bce82a1b9a5164056d
parent1464d90adbcb4bc02af8974ede36707a5be2c2cb (diff)
downloadprosody-59fa0c1c44241413fc6389aaf21561a7e9b14227.tar.gz
prosody-59fa0c1c44241413fc6389aaf21561a7e9b14227.zip
mod_websocket: Log state of cross domain set after changing it
-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