Skip to content

Commit

Permalink
only write browser files if we're launching the browser (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhuuggoo authored Dec 15, 2022
1 parent a220430 commit f6e280b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2762,10 +2762,10 @@ def start_app(self):
)

self.write_server_info_file()
self.write_browser_open_files()

# Handle the browser opening.
if self.open_browser and not self.sock:
self.write_browser_open_files()
self.launch_browser()

if self.identity_provider.token and self.identity_provider.token_generated:
Expand Down

0 comments on commit f6e280b

Please sign in to comment.