diff --git a/src/index.ts b/src/index.ts index 4369067..922d0b1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,7 +64,7 @@ const gitPullerExtension: JupyterFrontEndPlugin = { const branch = urlParams.get('branch') || 'main'; const provider = urlParams.get('provider') || 'github'; const filePath = urlParams.get('urlpath'); - const uploadPath = urlParams.get('uploadpath') | '/'; + const uploadPath = urlParams.get('uploadpath') || '/'; const basePath = PathExt.join(uploadPath, PathExt.basename(repo));