Skip to content

Commit

Permalink
Merge pull request #7199 from meeseeksmachine/auto-backport-of-pr-717…
Browse files Browse the repository at this point in the history
…4-on-1.1.x

Backport PR #7174 on branch 1.1.x (Fix tree URLs to work when there is a workspace in the URL.)
  • Loading branch information
blink1073 committed Sep 16, 2019
2 parents 8983786 + 7baa037 commit 6f59802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/application-extension/src/index.tsx
Expand Up @@ -254,7 +254,7 @@ const tree: JupyterFrontEndPlugin<void> = {
const { commands } = app;
const treePattern = new RegExp(`^${paths.urls.tree}([^?]+)`);
const workspacePattern = new RegExp(
`^${paths.urls.workspaces}[^?\/]+/tree/([^?]+)`
`^${paths.urls.workspaces}/[^?/]+/tree/([^?]+)`
);

commands.addCommand(CommandIDs.tree, {
Expand Down

0 comments on commit 6f59802

Please sign in to comment.