mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-10 06:47:58 +00:00
d6f9f2ed99
Now user can juery /jump/foo.i2p/anything and it will not produce "unknown hostname" error, instead user will be redirected to http://foo.i2p?i2paddresshelper=key
9 lines
167 B
Python
9 lines
167 B
Python
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('web.jump.views',
|
|
(r'^error/', 'error'),
|
|
(r'^unknown/', 'unknown'),
|
|
(r'^([^$/]+)', 'jumper'),
|
|
|
|
)
|