1 = tornado.web.Application([
3 (
r"/video", VideoHandler),
4 (
r"/unauthorized", UnauthorizedHandler),
5 (
r"/disconnection", DisconnectionHandler),
6 (
r"/socket", WSocketHandler),
7 (
r"/(favicon.ico)", tornado.web.StaticFileHandler,{
"path":
"./v/images"},),
8 (
r"/style/(.*)", tornado.web.StaticFileHandler,{
"path":
"./v/style"},),
9 (
r"/images/(.*)", tornado.web.StaticFileHandler,{
"path":
"./v/images"},),
10 (
r"/js/(.*)", tornado.web.StaticFileHandler,{
"path":
"./v/js"},)],
11 cookie_secret=
''.join(random.choice(string.ascii_uppercase + string.digits)
for _
in range(64)))