Hello, when user server is not available, the following will popup, when I click restart button, a new tab in browser will be opened to access the server, how to restart the server in the same webpage, not open a new one?
To restart the server within the JupyterLab page would require:
- specifying
c.Spawner.oauth_client_allowed_scopes
to include theservers
scope, so that the token used by JupyterLab can make the necessary requests to the Hub API - a JupyterLab extension that makes the
POST /hub/api/users/:username/servers/[:servername]
request to restart the server from javascript.
1 Like
Thank you, I will have a try.