Rename sitemap url

pull/2529/head
Jérémy Rialland 2023-02-27 19:42:08 +01:00 committed by Johan Girod
parent ab5bd85ec3
commit dfa442edc1
2 changed files with 10 additions and 2 deletions

View File

@ -97,6 +97,14 @@ const Redirections = () => {
path="/stats"
element={<Navigate to={relativeSitePaths.stats} replace />}
/>
<Route
path={'/plan-de-site'}
element={<Navigate to={relativeSitePaths.plan} replace />}
/>
<Route
path={'/site-map'}
element={<Navigate to={relativeSitePaths.plan} replace />}
/>
</>
)
}

View File

@ -105,7 +105,7 @@ const rawSitePathsFr = {
documentation: {
index: 'documentation',
},
plan: 'plan-de-site',
plan: 'plan-du-site',
} as const
const rawSitePathsEn = {
@ -190,7 +190,7 @@ const rawSitePathsEn = {
api: 'api',
spreadsheet: 'spreadsheet',
},
plan: 'site-map',
plan: 'sitemap',
} as const
/**