]> 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 06b955bf1e544a7f9f9b23bb524384ea65fa441e..78bd71854637c564a216adf178029a13df5c016f 100644 (file)
@@ -1,5 +1,6 @@
 from ajaxengine import AJAXEngine
-
+from authgateengine import AuthgateEngine
+import mimetypes
 from twisted.web import resource, server, static
 
 class RootResource(resource.Resource):
@@ -15,3 +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"
+