(r"/legal", StaticHandler, { "template" : "legal.html" }),
(r"/help", StaticHandler, { "template" : "help.html" }),
+ # API
+ (r"/api/check/email", auth.APICheckEmail),
+ (r"/api/check/uid", auth.APICheckUID),
+
# Handle old pages that have moved elsewhere
(r"/donation", tornado.web.RedirectHandler, { "url" : "/donate" }),
(r"/download", tornado.web.RedirectHandler, { "url" : "/downloads" }),
# Serve any static files
(r"/static/(.*)", tornado.web.StaticFileHandler, { "path" : self.settings.get("static_path") }),
-
- # API
- (r"/api/check/email", auth.APICheckEmail),
- (r"/api/check/uid", auth.APICheckUID),
] + authentication_handlers)
# wiki.ipfire.org