Commit edfe8c64 authored by Julien Bouquillon's avatar Julien Bouquillon 🐫

fix: fix fiche sp pros url

parent 53858f41
......@@ -207,7 +207,10 @@ const getFicheSpUrl = fiche => {
return `https://www.service-public.fr/associations/vosdroits/${fiche.data.id}`;
} else if (fiche.path.match(/particuliers/)) {
return `https://www.service-public.fr/particuliers/vosdroits/${fiche.data.id}`;
} else if (fiche.path.match(/entreprises/)) {
} else if (
fiche.path.match(/entreprises/) ||
fiche.path.match(/professionnels/)
) {
return `https://www.service-public.fr/professionnels-entreprises/vosdroits/${fiche.data.id}`;
}
};
......
Markdown is supported
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