Skip to content

Commit

Permalink
remove trailing slash from asset path in browse frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Aug 16, 2024
1 parent 7ad3da9 commit d9a7162
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ext.define('NX.composer.util.ComposerRepositoryUrls', {
NX.coreui.util.RepositoryUrls.addRepositoryUrlStrategy('composer', function(me, assetModel) {
var repositoryName = assetModel.get('repositoryName'), assetName = assetModel.get('name');
return NX.util.Url.asLink(
NX.util.Url.baseUrl + '/repository/' + encodeURIComponent(repositoryName) + '/' + encodeURI(assetName),
NX.util.Url.baseUrl + '/repository/' + encodeURIComponent(repositoryName) + encodeURI(assetName),
assetName);
});
});

0 comments on commit d9a7162

Please sign in to comment.