Software /
code /
prosody
Changeset
4697:778eb9405a98
mod_bosh: Update informational message on GET
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 05:56:24 +0100 |
parents | 4696:4700e318add1 |
children | 4698:739f7ae1a01e |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Thu Apr 26 05:40:04 2012 +0100 +++ b/plugins/mod_bosh.lua Thu Apr 26 05:56:24 2012 +0100 @@ -101,7 +101,10 @@ end local function handle_GET(request) - return "<html><body>You really don't look like a BOSH client to me... what do you want?</body></html>"; + return [[<html><body> + <p>It works! Now point your BOSH client to this URL to connect to Prosody.</p> + <p>For more information see <a href="http://prosody.im/doc/setting_up_bosh">Prosody: Setting up BOSH</a>.</p> +</body></html>]]; end function handle_OPTIONS(request)