I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 564922e6 authored by str4d's avatar str4d
Browse files

Define site domain in one place

parent 3e3a438f
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@ CURRENT_I2P_VERSION = '0.9.7.1'
CANONICAL_DOMAIN = 'i2hq.srv.i2p2.de'
THIS_DOMAIN = CANONICAL_DOMAIN
BLOG_POSTS_PER_FEED = 10
BLOG_POSTS_PER_PAGE = 10
MEETINGS_PER_PAGE = 20
......
from flask import g, request, safe_join, url_for
import os.path
from i2p2www import CANONICAL_DOMAIN, CURRENT_I2P_VERSION, STATIC_DIR, app
from i2p2www import CANONICAL_DOMAIN, CURRENT_I2P_VERSION, STATIC_DIR, THIS_DOMAIN, app
INPROXY = '.us'
I2P_TO_CLEAR = {
'www.i2p2.i2p': 'www.i2p2.de',
'www.i2p2.i2p': THIS_DOMAIN,
'forum.i2p': 'forum.i2p', # Don't convert forum.i2p, it is not accessible outside I2P
'trac.i2p2.i2p': 'trac.i2p2.de',
'mail.i2p': 'i2pmail.org',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment