Skip to content

Commit

Permalink
fix: incorrect canonical in documents
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Jul 17, 2024
1 parent 1b34474 commit dfe1ad2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/(header-default)/documents/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export const generateMetadata = async (
description: uniteLegalePageDescription(uniteLegale, session),
robots: 'noindex',
alternates: {
canonical: `https://annuaire-entreprises.data.gouv.fr/documents/${
uniteLegale.chemin || uniteLegale.siren
}`,
canonical: `https://annuaire-entreprises.data.gouv.fr/documents/${uniteLegale.siren}`,
},
};
};
Expand Down

0 comments on commit dfe1ad2

Please sign in to comment.