summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.py b/app.py
index a8d56a6..c8f996a 100644
--- a/app.py
+++ b/app.py
@@ -26,3 +26,7 @@ def get_ip(request):
def index():
ip = get_ip(request)
return TEMPLATE.format(ip=ip)
+
+@app.route('/p')
+def plain():
+ return get_ip(request)