Ver código fonte

fix issue where autogenerated workspaces and sharable links weren't working together

James Reeve 5 anos atrás
pai
commit
c628c157fc
1 arquivos alterados com 1 adições e 1 exclusões
  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;