From 9cb4461ab7cec2bb16bd4b32f1dbf908253e482b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 18 Jan 2019 18:37:04 +0100 Subject: mod_websocket: Include the value of cross_domain_websocket in debug message --- plugins/mod_websocket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_websocket.lua') diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua index a668b4fa..475cabfe 100644 --- a/plugins/mod_websocket.lua +++ b/plugins/mod_websocket.lua @@ -159,7 +159,7 @@ function handle_request(event) end if not check_origin(request.headers.origin or "") then - module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket'", request.headers.origin or "(missing header)"); + module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket' [ %s ]", request.headers.origin or "(missing header)", cross_domain); return 403; end -- cgit v1.2.3