Browse Source

Remove ?next from restartUrl for JupyterHub >=1.0

Trevor Slaton 5 years ago
parent
commit
d9f7b9e81a
1 changed files with 1 additions and 7 deletions
  1. 1 7
      packages/hub-extension/src/index.ts

+ 1 - 7
packages/hub-extension/src/index.ts

@@ -58,13 +58,7 @@ function activateHubExtension(
 
   // If hubServerName is set, use JupyterHub 1.0 URL.
   const restartUrl = hubServerName
-    ? hubHost + URLExt.join(
-        hubPrefix,
-        'spawn',
-        hubUser,
-        hubServerName,
-        `?next=${hubPrefix}home`
-      )
+    ? hubHost + URLExt.join(hubPrefix, 'spawn', hubUser, hubServerName)
     : hubHost + URLExt.join(hubPrefix, `spawn?next=${hubPrefix}home`);
 
   const { commands } = app;