Diff

plugins/mod_websocket.lua @ 13751:7c98981d3fe9

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 22 Feb 2025 21:49:59 +0100
parent 13749:08c2b7accd94
line wrap: on
line diff
--- a/plugins/mod_websocket.lua	Sat Feb 22 09:41:29 2025 +0000
+++ b/plugins/mod_websocket.lua	Sat Feb 22 21:49:59 2025 +0100
@@ -367,7 +367,9 @@
 		};
 	});
 
-	module:depends("http_altconnect", true);
+	if module.host ~= "*" then
+		module:depends("http_altconnect", true);
+	end
 
 	module:hook("c2s-read-timeout", keepalive, -0.9);
 end