Skip to content

Commit 7f1a2f4

Browse files
authored
Fix handling of the base url (#6943)
1 parent 8efd94a commit 7f1a2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def initialize_handlers(self):
333333
(
334334
rf"/{self.file_url_prefix}/((?!.*\.ipynb($|\?)).*)",
335335
web.RedirectHandler,
336-
{"url": "/edit/{0}"},
336+
{"url": ujoin(self.serverapp.base_url, "/edit/{0}")},
337337
)
338338
)
339339
self.handlers.append(("/?", RedirectHandler))

0 commit comments

Comments
 (0)