mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-03-10 12:21:11 +00:00
web/jump/urls.py: modify regexp for jumper
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
This commit is contained in:
parent
3230f07160
commit
d6f9f2ed99
@ -3,6 +3,6 @@ from django.conf.urls.defaults import *
|
|||||||
urlpatterns = patterns('web.jump.views',
|
urlpatterns = patterns('web.jump.views',
|
||||||
(r'^error/', 'error'),
|
(r'^error/', 'error'),
|
||||||
(r'^unknown/', 'unknown'),
|
(r'^unknown/', 'unknown'),
|
||||||
(r'^(.+)', 'jumper'),
|
(r'^([^$/]+)', 'jumper'),
|
||||||
|
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user