This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit ae4f4501 authored by Michael Breu's avatar Michael Breu
Browse files

Fixed #314

parent 53768b53
Branches
Tags
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -244,7 +244,7 @@ public class SearchService {
}
String httpUrlToRepo = metaData.getProject().getUrl();
String commitId = metaData.getFile().getCommit_id();
String baseRepoURL = httpUrlToRepo + "/-/raw/" + commitId;
String baseRepoURL = httpUrlToRepo + "/-/raw/" + commitId + "/";
final URI resolvedImageUrl = new URI(baseRepoURL).resolve(url);
metaData.getMetadata().setImage(resolvedImageUrl.toASCIIString());
return;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment