Fix redirect handler (#6941)

This commit is contained in:
Jeremy Tuloup 2023-06-22 10:40:00 +02:00 committed by GitHub
parent 77f87de5c7
commit 8493e1ba21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ class RedirectHandler(NotebookBaseHandler):
@web.authenticated
def get(self):
"""Get the redirect url."""
return self.redirect(self.base_url.strip("/") + "/" + self.default_url.strip("/"))
return self.redirect(self.base_url + "tree")
class TreeHandler(NotebookBaseHandler):