Fix Django route for swift ui with folder path
The path doesn't terminate in a "/" so that should be removed from the RE. Change-Id: Ie600636c96d73382bd2092838111aa870c5b019b Closes-Bug: 1584055
This commit is contained in:
parent
461f2edc26
commit
454faafc44
@ -25,7 +25,7 @@ if settings.HORIZON_CONFIG['swift_panel'] == 'angular':
|
||||
# New angular containers and objects
|
||||
urlpatterns = [
|
||||
url(r'^container/((?P<container_name>.+?)/)?'
|
||||
'(?P<subfolder_path>(.+/)+)?$',
|
||||
'(?P<subfolder_path>.+)?$',
|
||||
views.NgIndexView.as_view(), name='index'),
|
||||
url(r'^$',
|
||||
views.NgIndexView.as_view(), name='index')
|
||||
|
Loading…
x
Reference in New Issue
Block a user