Skip to content

Commit

Permalink
Fix for URL Incorrect path
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmevichu committed Feb 13, 2024
1 parent 8b8182d commit 3be24ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterlab_server/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class NotFoundHandler(LabHandler):
@lru_cache # noqa: B019
def get_page_config(self) -> dict[str, Any]:
"""Get the page config."""
page_config = super().get_page_config()
page_config = super().get_page_config().copy()
page_config["notFoundUrl"] = self.request.path
return page_config

Expand Down

0 comments on commit 3be24ab

Please sign in to comment.