[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [apaf/master] Redirect to index.html when visiting / closes #52



commit a44888dc60f8dda2f2c2027ae3d9ea86207cc072
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Wed Nov 21 13:03:00 2012 +0100

    Redirect to index.html when visiting / closes #52
---
 apaf/panel/handlers/base.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/apaf/panel/handlers/base.py b/apaf/panel/handlers/base.py
index e21e578..966fd49 100644
--- a/apaf/panel/handlers/base.py
+++ b/apaf/panel/handlers/base.py
@@ -67,4 +67,4 @@ class IndexHandler(PanelHandler):
         depending on the browser type
         """
         self.set_header('Content-Type', 'text/plain')
-        self.finish('Hello world')
+        self.redirect('/index.html')

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits