modifié: superTornado.py

This commit is contained in:
sidya82 2014-02-28 11:16:40 +01:00
parent b848db0210
commit 040c48827e

View File

@ -127,9 +127,12 @@ application = tornado.web.Application([
(r"/video", VideoHandler), (r"/video", VideoHandler),
(r"/unauthorized", UnauthorizedHandler), (r"/unauthorized", UnauthorizedHandler),
(r"/disconnection", DisconnectionHandler), (r"/disconnection", DisconnectionHandler),
(r"/socket", WSocketHandler), (r"/socket", WSocketHandler),],
(r"/static/(.*)", tornado.web.StaticFileHandler, {"static_path": "/home/vmproxy/Bureau/ptut/"}), settings = {
], cookie_secret="1213215656") "template_path": Settings.TEMPLATE_PATH,
"static_path": Settings.STATIC_PATH,
},
cookie_secret="1213215656")
if __name__ == "__main__": if __name__ == "__main__":
hand = LoadConf() hand = LoadConf()