Skip to content

Commit

Permalink
Fix getFilename
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway authored Jun 13, 2024
1 parent f8f594d commit 357af99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bioimageio-packager.imjoy.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
}

function getFileName(url){
if(!url.includes('/')){
return url;
}
const parts = url.split('/');
// Remove the last element 'content'
parts.pop();
Expand Down

0 comments on commit 357af99

Please sign in to comment.