diff --git a/src/frontend/src/components/NotFoundScreen.tsx b/src/frontend/src/components/NotFoundScreen.tsx index 6f7d9129..b4922a5c 100644 --- a/src/frontend/src/components/NotFoundScreen.tsx +++ b/src/frontend/src/components/NotFoundScreen.tsx @@ -10,8 +10,7 @@ export const NotFoundScreen = () => { - {t('notFound.body')}{' '} - https://visio.numerique.gouv.fr/xxx-yyyy-zzz. + {t('notFound.body')} {window.origin}/xxx-yyyy-zzz. diff --git a/src/frontend/src/features/home/components/JoinMeetingDialog.tsx b/src/frontend/src/features/home/components/JoinMeetingDialog.tsx index 33bbeee9..53ff0c82 100644 --- a/src/frontend/src/features/home/components/JoinMeetingDialog.tsx +++ b/src/frontend/src/features/home/components/JoinMeetingDialog.tsx @@ -23,7 +23,7 @@ export const JoinMeetingDialog = () => { name="roomId" label={t('joinInputLabel')} description={t('joinInputExample', { - example: 'https://visio.numerique.gouv.fr/azer-tyu-qsdf', + example: window.origin + '/azer-tyu-qsdf', })} validate={(value) => { return !isRoomValid(value.trim()) ? (