diff --git a/packages/application-extension/src/index.ts b/packages/application-extension/src/index.ts index d2716256b..3e2aa5d43 100644 --- a/packages/application-extension/src/index.ts +++ b/packages/application-extension/src/index.ts @@ -556,13 +556,13 @@ const treePathUpdater: JupyterFrontEndPlugin = { if (treePath !== PageConfig.getOption('treePath')) { const path = URLExt.join( PageConfig.getOption('baseUrl') || '/', - PageConfig.getOption('frontendUrl'), + 'retro', 'tree', - treePath + URLExt.encodeParts(treePath) ); router.navigate(path, { skipRouting: true }); // Persist the new tree path to PageConfig as it is used elsewhere at runtime. - PageConfig.setOption('treePath', URLExt.encodeParts(treePath)); + PageConfig.setOption('treePath', treePath); } } return updateTreePath;