From 8493e1ba21ebaca5c192d68bdc829ccc5b29a799 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 22 Jun 2023 10:40:00 +0200 Subject: [PATCH] Fix redirect handler (#6941) --- notebook/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/app.py b/notebook/app.py index 78727ec49..0ad92c664 100644 --- a/notebook/app.py +++ b/notebook/app.py @@ -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):