Skip to content

Commit

Permalink
Thumbnail URLs are hardcoded to /admin #4250
Browse files Browse the repository at this point in the history
  • Loading branch information
rymsha authored and alansemenov committed Feb 21, 2022
1 parent 8cc7bc2 commit b318012
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -66,7 +66,7 @@ private boolean isImage( final Content content )
private String makeIconPath( final Content content )
{
return ServletRequestUrlHelper.createUri(
"/" + ResourceConstants.REST_ROOT + "cms/" + getProjectName() + "/" + getLayer() + "/content/icon/" + content.getId() + "?ts=" +
ResourceConstants.REST_ROOT + "cms/" + getProjectName() + "/" + getLayer() + "/content/icon/" + content.getId() + "?ts=" +
content.getModifiedTime().toEpochMilli() );
}

Expand Down

0 comments on commit b318012

Please sign in to comment.