Skip to content

Commit

Permalink
Fix a URLs de dump
Browse files Browse the repository at this point in the history
Permito trailing slashes
  • Loading branch information
lucaslavandeira committed Nov 15, 2018
1 parent ac39127 commit 54abad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions series_tiempo_ar_api/apps/dump/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@


urlpatterns = [
url(r'^(?P<filename>[^/]*)$', serve_global_dump, name='global_dump'),
url(r'^(?P<catalog_id>.*)/(?P<filename>.*)$', serve_catalog_dump, name='catalog_dump')
url(r'^(?P<filename>[^/]+)/$', serve_global_dump, name='global_dump'),
url(r'^(?P<catalog_id>.+)/(?P<filename>.+)/$', serve_catalog_dump, name='catalog_dump')
]

0 comments on commit 54abad5

Please sign in to comment.