Skip to content

Commit 0f6ec1a

Browse files
authored
Fix uploadpath default
1 parent ada3214 commit 0f6ec1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const gitPullerExtension: JupyterFrontEndPlugin<void> = {
6464
const branch = urlParams.get('branch') || 'main';
6565
const provider = urlParams.get('provider') || 'github';
6666
const filePath = urlParams.get('urlpath');
67-
const uploadPath = urlParams.get('uploadpath') | '/';
67+
const uploadPath = urlParams.get('uploadpath') || '/';
6868

6969
const basePath = PathExt.join(uploadPath, PathExt.basename(repo));
7070

0 commit comments

Comments
 (0)