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 4e6d9a0 commit 2964b9fCopy full SHA for 2964b9f
jupyter_server/serverapp.py
@@ -1703,7 +1703,7 @@ def launch_browser(self):
1703
self.log.critical(_("%s does not exist") % self.file_to_run)
1704
self.exit(1)
1705
1706
- relpath = os.path.relpath(self.file_to_run, self.notebook_dir)
+ relpath = os.path.relpath(self.file_to_run, self.root_dir)
1707
uri = url_escape(url_path_join('notebooks', *relpath.split(os.sep)))
1708
1709
# Write a temporary file to open in the browser
0 commit comments