Skip to content
Snippets Groups Projects
Commit b1b669d5 authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

Revert "Updated router for prod"

This reverts commit e97b32a3
parent e97b32a3
No related branches found
No related tags found
1 merge request!143fix: refresh on consent page
Pipeline #94607 passed
......@@ -7,7 +7,7 @@
"sizes": "32x32",
"type": "image/x-icon"
},
{
{
"src": "/logo192.png",
"sizes": "192x192",
"type": "image/png"
......@@ -17,8 +17,9 @@
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/",
"start_url": ".",
"display": "standalone",
"theme_color": "#f1c017",
"background_color": "#32343d"
......
......@@ -57,18 +57,17 @@ const Router = () => {
<Route path={links.prices.path} element={<Prices />} />
<Route path="/popups" element={<Popups />} />
{user.isAdmin && (
<Route
path={links.sgeConsents.path}
element={<Consents type="sge" />}
/>
<>
<Route
path={links.sgeConsents.path}
element={<Consents type="sge" />}
/>
<Route
path={links.grdfConsents.path}
element={<Consents type="grdf" />}
/>
</>
)}
{user.isAdmin && (
<Route
path={links.grdfConsents.path}
element={<Consents type="grdf" />}
/>
)}
<Route path="/login" element={<Login />} />
<Route
path="*"
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment