[tor-commits] [apaf/master] Redirect to index.html when visiting / closes #52
art at torproject.org
art at torproject.org
Wed Nov 21 12:03:36 UTC 2012
commit a44888dc60f8dda2f2c2027ae3d9ea86207cc072
Author: Arturo Filastò <art at fuffa.org>
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')
More information about the tor-commits
mailing list