Mercurial > prosody-modules
changeset 4230:495a23d61418
mod_http_prebind: Stop hardcoding test domain
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 25 Oct 2020 18:01:25 +0100 |
parents | 3943032533a7 |
children | ee724c7fa8e0 |
files | mod_http_prebind/mod_http_prebind.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);