changeset 909:ec4c6e8f277d

mod_websocket: Change the HTTP name to websocket, and override the default_path instead
author Florian Zeitz <florob@babelmonkeys.de>
date Wed, 13 Feb 2013 21:03:45 +0100
parents abf0f12fe75c
children c469a2b2d77d
files mod_websocket/mod_websocket.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_websocket/mod_websocket.lua	Mon Feb 11 19:21:31 2013 +0100
+++ b/mod_websocket/mod_websocket.lua	Wed Feb 13 21:03:45 2013 +0100
@@ -245,7 +245,8 @@
 function module.add_host(module)
 	module:depends("http");
 	module:provides("http", {
-		name = "xmpp-websocket";
+		name = "websocket";
+		default_path = "xmpp-websocket";
 		route = {
 			["GET"] = handle_request;
 			["GET /"] = handle_request;