# HG changeset patch # User Florian Zeitz # Date 1360785825 -3600 # Node ID ec4c6e8f277d86b71edfe47730841dded653e01c # Parent abf0f12fe75c49354b7d0add77090a9ccd4c8f96 mod_websocket: Change the HTTP name to websocket, and override the default_path instead diff -r abf0f12fe75c -r ec4c6e8f277d mod_websocket/mod_websocket.lua --- 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;