aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-26 05:56:24 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-26 05:56:24 +0100
commit377c44d0ee680805ed30b43f51e1dd6af8581e86 (patch)
treeaecdd96dd2f9ac6e11c77d6e71be8f8147fa3e36 /plugins/mod_bosh.lua
parent93f86e22d518f59c5b821eaaa778bbc2f538e4f7 (diff)
downloadprosody-377c44d0ee680805ed30b43f51e1dd6af8581e86.tar.gz
prosody-377c44d0ee680805ed30b43f51e1dd6af8581e86.zip
mod_bosh: Update informational message on GET
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 4432bd03..13cea911 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -101,7 +101,10 @@ function on_destroy_request(request)
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)