Skip to content

Commit

Permalink
Merge pull request #73 from gjenkins8/no_open_browser_code_redirect
Browse files Browse the repository at this point in the history
Remove 'coded redirect' to default_url
  • Loading branch information
Zsailer authored Aug 5, 2019
2 parents 9f3b26d + 7b59bd2 commit cbf9a3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1574,8 +1574,7 @@ def start(self):
relpath = os.path.relpath(self.file_to_run, self.root_dir)
uri = url_escape(url_path_join('notebooks', *relpath.split(os.sep)))
else:
# default_url contains base_url, but so does connection_url
uri = self.default_url[len(self.base_url):]
uri = self.base_url
if self.one_time_token:
uri = url_concat(uri, {'token': self.one_time_token})
if browser:
Expand Down

0 comments on commit cbf9a3c

Please sign in to comment.