From cbf4b3fe89218cf7d1dcdb5187b37ce7aa1d59bc Mon Sep 17 00:00:00 2001 From: sidya82 Date: Wed, 12 Mar 2014 17:04:32 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 5 +++-- v/favicon.ico | Bin 318 -> 0 bytes 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 v/favicon.ico diff --git a/superTornado.py b/superTornado.py index d428ecc..41a4140 100644 --- a/superTornado.py +++ b/superTornado.py @@ -151,8 +151,7 @@ application = tornado.web.Application([ (r"/unauthorized", UnauthorizedHandler), (r"/disconnection", DisconnectionHandler), (r"/socket", WSocketHandler), - (r"/ssl/(.*)", tornado.web.StaticFileHandler,{"path":"./ssl"},), - (r"/(favicon.ico)", tornado.web.StaticFileHandler,{"path":"./v/"},), + (r"/(favicon.ico)", tornado.web.StaticFileHandler,{"path":"./v/images"},), (r"/style/(.*)", tornado.web.StaticFileHandler,{"path":"./v/style"},), (r"/images/(.*)", tornado.web.StaticFileHandler,{"path":"./v/images"},), (r"/js/(.*)", tornado.web.StaticFileHandler,{"path":"./v/js"},)], @@ -206,10 +205,12 @@ if __name__ == "__main__": try : log.printL("->Server Start ...",lvl.INFO) tornado.options.parse_command_line() + print "lol" http_server = tornado.httpserver.HTTPServer(application,ssl_options={ "certfile": "/ssl/server.crt", "keyfile": "/ssl/server.key", }) + print "lol1" http_server.listen(433) log.printL("->Server Start Successfully !",lvl.SUCCESS) tornado.ioloop.IOLoop.instance().start() diff --git a/v/favicon.ico b/v/favicon.ico deleted file mode 100644 index 4d6d4320eebe840756aff8b25357f33ed4e31a85..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmb7ZD?4ky#-fG!NEAn9$_nfLJH3bk!W!=9?f`?$Wr2%8GY1} zq)E~O3>-oDQMvZkV%Do%q}TJ_<=>p#JuX4QP~4massqz|A)8kqn9