fix add-trailing-slash login in base_url

both leading and trailing slash should be added
pull/2385/head
Min RK 9 years ago
parent 0a1b0309b7
commit c3f1207c64

@ -759,7 +759,7 @@ class NotebookApp(JupyterApp):
value = proposal['value']
if not value.startswith('/'):
value = '/' + value
elif not value.endswith('/'):
if not value.endswith('/'):
value = value + '/'
return value

Loading…
Cancel
Save