We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8182d commit f30fddbCopy full SHA for f30fddb
jupyterlab_server/handlers.py
@@ -179,7 +179,8 @@ class NotFoundHandler(LabHandler):
179
@lru_cache # noqa: B019
180
def get_page_config(self) -> dict[str, Any]:
181
"""Get the page config."""
182
- page_config = super().get_page_config()
+ # Making a copy of the page_config to ensure changes do not affect the original
183
+ page_config = super().get_page_config().copy()
184
page_config["notFoundUrl"] = self.request.path
185
return page_config
186
0 commit comments