Skip to content

Commit b1ec795

Browse files
committed
-> url match fix
1 parent 6455a86 commit b1ec795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cohorts/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
urlpatterns = [
2323
url(r'^$', views.cohorts_list, name='cohort_list'),
24-
url(r'^manifests/fetch/(?P<file_name>[A-Za-z\-0-9]+\/file_manifest_[0-9_]+\.s5cmd)', views.fetch_user_manifest, name='fetch_user_manifest'),
25-
url(r'^manifests/check/(?P<file_name>[A-Za-z\-0-9]+\/file_manifest_[0-9_]+\.s5cmd)', views.check_manifest_ready, name='check_user_manifest'),
24+
url(r'^manifests/fetch/(?P<file_name>[A-Za-z\-0-9]+\/manifest_[0-9_]+(aws|gcs|gcp)\.s5cmd)', views.fetch_user_manifest, name='fetch_user_manifest'),
25+
url(r'^manifests/check/(?P<file_name>[A-Za-z\-0-9]+\/manifest_[0-9_]+(aws|gcs|gcp)\.s5cmd)', views.check_manifest_ready, name='check_user_manifest'),
2626
url(r'^manifests/fetch/$', views.fetch_user_manifest, name='fetch_user_manifest_base'),
2727
url(r'^manifests/check/$', views.check_manifest_ready, name='check_user_manifest_base'),
2828
url(r'^api/$', views.views_api_v1.cohort_list_api, name='cohort_list_api'),

0 commit comments

Comments
 (0)