Skip to content

Commit

Permalink
ajout des slash manquants
Browse files Browse the repository at this point in the history
  • Loading branch information
julg committed Mar 15, 2024
1 parent 86dd47a commit 6cb9bc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class UrlMapper {
private String racine;
public UrlThese theseToUrlThese(Hit<These> theseHit, Boolean afficheDocument) {
return UrlThese.builder()
.loc(!afficheDocument? racine.concat(theseHit.id()).concat("?domaine=theses"):racine.concat("api/v1/document/".concat(theseHit.id())))
.loc(!afficheDocument? racine.concat("/".concat(theseHit.id()).concat("?domaine=theses")):racine.concat("/api/v1/document/".concat(theseHit.id())))
.priority("0.5")
.build();
}
Expand Down

0 comments on commit 6cb9bc6

Please sign in to comment.