diff --git a/notebook/app.py b/notebook/app.py index 62444bae27..446088f9be 100644 --- a/notebook/app.py +++ b/notebook/app.py @@ -111,15 +111,6 @@ def get_page_config(self): return page_config -class RedirectHandler(NotebookBaseHandler): - """A redirect handler.""" - - @web.authenticated - def get(self): - """Get the redirect url.""" - return self.redirect(self.base_url + "tree") - - class TreeHandler(NotebookBaseHandler): """A tree page handler.""" @@ -329,7 +320,6 @@ def initialize_handlers(self): # if the serverapp set one page_config["token"] = "" - self.handlers.append(("/?", RedirectHandler)) self.handlers.append(("/tree(.*)", TreeHandler)) self.handlers.append(("/notebooks(.*)", NotebookHandler)) self.handlers.append(("/edit(.*)", FileHandler))