From 6cb9bc62d68d5b3ff9318889178a06083b6303cb Mon Sep 17 00:00:00 2001 From: gibert Date: Fri, 15 Mar 2024 10:32:46 +0100 Subject: [PATCH] ajout des slash manquants --- src/main/java/fr/abes/theses/sitemap/converters/UrlMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }