]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - qwebirc/root.py
Make channel, nick and auth links less obvious.
[irc/quakenet/qwebirc.git] / qwebirc / root.py
index 41502a358d3e9a9996b56383ca42457bfca65ca0..78bd71854637c564a216adf178029a13df5c016f 100644 (file)
@@ -1,4 +1,5 @@
 from ajaxengine import AJAXEngine
+from authgateengine import AuthgateEngine
 import mimetypes
 from twisted.web import resource, server, static
 
@@ -15,6 +16,7 @@ class RootSite(server.Site):
 
     root.primaryChild = static.File(path)
     root.putChild("e", AJAXEngine("/e"))
+    root.putChild("auth", AuthgateEngine("/auth"))
 
 mimetypes.types_map[".ico"] = "image/vnd.microsoft.icon"