# HG changeset patch # User Emmanuel Gil Peyrot # Date 1603645285 -3600 # Node ID 495a23d61418231578c28f1aa41fde92664f5b27 # Parent 3943032533a7ba65634330a719f6e6e24e32a6ea mod_http_prebind: Stop hardcoding test domain diff -r 3943032533a7 -r 495a23d61418 mod_http_prebind/mod_http_prebind.lua --- a/mod_http_prebind/mod_http_prebind.lua Sun Oct 25 17:58:02 2020 +0100 +++ b/mod_http_prebind/mod_http_prebind.lua Sun Oct 25 18:01:25 2020 +0100 @@ -132,7 +132,7 @@ module:provides("http", { route = { ["GET"] = function (event) - return connect_to_bosh("http://[::1]:5280/http-bind", "anon.localhost") + return connect_to_bosh("http://[::1]:5280/http-bind", module.host) :next(authenticate) :next(restart_stream) :next(bind);