Skip to content

Commit

Permalink
fix(frontend): remove old legifrance beta url (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel authored and douglasduteil committed Mar 24, 2021
1 parent 9ed2738 commit c4d5018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion targets/frontend/src/components/alerts/AlertTitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function AlertTitle({ alertId, info, ...props }) {
sx={{ px: "xsmall" }}
target="_blank"
rel="noopener noreferrer"
href={`https://beta.legifrance.gouv.fr/conv_coll/id/${info.id}`}
href={`https://legifrance.gouv.fr/conv_coll/id/${info.id}`}
>
<IconButton variant="secondary">
<IoIosLink
Expand Down
2 changes: 1 addition & 1 deletion targets/frontend/src/components/changes/DilaChanges.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function getBadgeColor(etat) {
function DilaLink({ info, children }) {
const { context, data, type } = info;
let url = "";
const baseUrl = "https://beta.legifrance.gouv.fr";
const baseUrl = "https://legifrance.gouv.fr";
if (context.containerId.startsWith("LEGI")) {
if (type === "article") {
// article d'un code
Expand Down

0 comments on commit c4d5018

Please sign in to comment.