also serve torrent at id/torrent not only id/torrent/
This commit is contained in:
parent
e441e09bd9
commit
8becaf2bb8
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ urlpatterns = patterns("item.views",
|
|||
(r'^(?P<id>[A-Z0-9].*)/(?P<resolution>\d+)p(?P<index>\d*)\.(?P<format>webm|ogv|mp4)$', 'video'),
|
||||
|
||||
#torrent
|
||||
(r'^(?P<id>[A-Z0-9].*)/torrent$', 'torrent'),
|
||||
(r'^(?P<id>[A-Z0-9].*)/torrent/(?P<filename>.*?)$', 'torrent'),
|
||||
|
||||
#export
|
||||
|
|
Loading…
Reference in a new issue