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
commitfbbc658469cf539bc1118bdf1e9b1c86fcba0497 (patch)
treeaecdd96dd2f9ac6e11c77d6e71be8f8147fa3e36 /plugins/mod_bosh.lua
parent355eb83a4a8956be8cf6ffacb94c73d67ed54336 (diff)
downloadprosody-fbbc658469cf539bc1118bdf1e9b1c86fcba0497.tar.gz
prosody-fbbc658469cf539bc1118bdf1e9b1c86fcba0497.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)