Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.694 kb
import os
import tornado.web
import handlers.main
import handlers.auth
routes = [
(r"/", handlers.main.MainHandler),
(r"/auth/login", handlers.auth.AuthHandler),
(r"/auth/logout", handlers.auth.LogoutHandler),
(r"/bg", handlers.main.BackGroundHandler),
(r"/tl", handlers.main.TimelineHandler),
# (r"/images/bgs/(.*)", tornado.web.StaticFileHandler, {"path": os.path.join(os.path.dirname(__file__), "static/bgs")}),
(r"/images/(.*)", tornado.web.StaticFileHandler, {"path": os.path.join(os.path.dirname(__file__), "static")}),
(r"/static/(.*)", tornado.web.StaticFileHandler, {"path": os.path.join(os.path.dirname(__file__), "static")}),
]
Jump to Line
Something went wrong with that request. Please try again.