Skip to content

Commit

Permalink
Merge pull request #17 from abes-esr/develop
Browse files Browse the repository at this point in the history
ajout des slash manquants
  • Loading branch information
julg authored Mar 15, 2024
2 parents 3c9d5cc + 6cb9bc6 commit ca1da27
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 ca1da27

Please sign in to comment.