From 57b0011a3d394a245aa3a868d3d1e26001155794 Mon Sep 17 00:00:00 2001 From: str4d Date: Sat, 6 Jul 2013 14:11:42 +0000 Subject: [PATCH] Switch to *.i2p.us inproxy (*.i2p.to is down) --- i2p2www/templatevars.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i2p2www/templatevars.py b/i2p2www/templatevars.py index 219e6e0d..896b8b01 100644 --- a/i2p2www/templatevars.py +++ b/i2p2www/templatevars.py @@ -3,6 +3,8 @@ import os.path from i2p2www import CANONICAL_DOMAIN, CURRENT_I2P_VERSION, STATIC_DIR, app +INPROXY = '.us' + I2P_TO_CLEAR = { 'www.i2p2.i2p': 'www.i2p2.de', #'forum.i2p': 'forum.i2p2.de', @@ -61,7 +63,7 @@ def utility_processor(): return I2P_TO_CLEAR[value] except KeyError: # The I2P site has no known clearnet address, so use an inproxy - return value + '.to' + return value + INPROXY # Convert a paginated URL to that of another page def url_for_other_page(page):