Browse Source

Merge pull request #6773 from reevejd/master

fix issue with autogenerated workspaces breaking sharable links
Steven Silvester 5 years ago
parent
commit
10f12c2318
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/apputils-extension/src/index.ts

+ 1 - 1
packages/apputils-extension/src/index.ts

@@ -260,7 +260,7 @@ const resolver: JupyterFrontEndPlugin<IWindowResolver> = {
         const pool =
           'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
         const random = pool[Math.floor(Math.random() * pool.length)];
-        const path = URLExt.join(base, workspaces, `auto-${random}`) + rest;
+        const path = URLExt.join(base, workspaces, `auto-${random}`, rest);
 
         // Clone the originally requested workspace after redirecting.
         query['clone'] = workspace;