Skip to content

Commit

Permalink
Fix uploadpath default
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr authored Nov 22, 2024
1 parent ada3214 commit 0f6ec1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const gitPullerExtension: JupyterFrontEndPlugin<void> = {
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));

Expand Down

0 comments on commit 0f6ec1a

Please sign in to comment.