Add a trailing slash to file links in the file tab
This avoids a HTTP 301 redirect when trying to open a file from the file tab which was confusing reverse proxies with SSL termination. Change-Id: If1cdf11ff6e1e2bae146307a21c1a1aea31c51ed
This commit is contained in:
parent
0a37c3bdc2
commit
56582b2616
|
@ -136,7 +136,7 @@ def generate_tree(root, paths, mock_os):
|
|||
node['dataAttr'] = {
|
||||
'toggle': 'modal',
|
||||
'target': '#file_modal',
|
||||
'load': paths[full_path]
|
||||
'load': paths[full_path] + '/'
|
||||
}
|
||||
tree.append(node)
|
||||
return tree
|
||||
|
|
Loading…
Reference in New Issue