diff --git a/src/main/java/fr/abes/theses/sitemap/converters/UrlMapper.java b/src/main/java/fr/abes/theses/sitemap/converters/UrlMapper.java index af60793..1715904 100644 --- a/src/main/java/fr/abes/theses/sitemap/converters/UrlMapper.java +++ b/src/main/java/fr/abes/theses/sitemap/converters/UrlMapper.java @@ -13,7 +13,7 @@ public class UrlMapper { private String racine; public UrlThese theseToUrlThese(Hit 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(); }