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 4f1e927 commit fa65c00Copy full SHA for fa65c00
nbclassic/notebookapp.py
@@ -272,13 +272,13 @@ def initialize_handlers(self):
272
# Default routes
273
# Order matters. The first handler to match the URL will handle the request.
274
handlers = []
275
- # Add a redirect from /notebooks to /edit
+ # Add a redirect from /notebooks to /files
276
# for opening non-ipynb files in edit mode.
277
handlers.append(
278
(
279
rf"/{self.file_url_prefix}/((?!.*\.ipynb($|\?)).*)",
280
RedirectHandler,
281
- {"url": self.serverapp.base_url+"edit/{0}"}
+ {"url": self.serverapp.base_url+"files/{0}"}
282
)
283
284
0 commit comments