From 0af77e2c43de5d4df478d710198125633921a731 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Thu, 27 Feb 2014 16:16:18 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index 67a130e..025ee74 100644 --- a/superTornado.py +++ b/superTornado.py @@ -3,12 +3,12 @@ import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): - self.write("Hello, world") + self.render("site/index.html") application = tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": - application.listen(8888) + application.listen(80) tornado.ioloop.IOLoop.instance().start()