Diff

plugins/mod_bosh.lua @ 4697:778eb9405a98

mod_bosh: Update informational message on GET
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Apr 2012 05:56:24 +0100
parent 4692:8e7c683d78ca
child 4725:d085db6285db
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)