Skip to content

Commit bfbaf1a

Browse files
authored
Legacy change to accommodate the frontend confirmations url change in the API (#144)
* Legacy change to accommodate the frontend confirmations url change in the API * updating with redirects * Reverting * removing unused import
1 parent 3842002 commit bfbaf1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/router.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import NotFound from './pages/NotFound.tsx'
3030
const router = createBrowserRouter(
3131
createRoutesFromElements(
3232
<>
33-
<Route path="confirmations/:token" element={<Confirmation />} />
34-
<Route path="password_resets/:token" element={<PasswordResets />} />
33+
<Route path="auth/confirmations/:token" element={<Confirmation />} />
34+
<Route path="auth/password_resets/:token" element={<PasswordResets />} />
3535
<Route path="/" element={<Home />} errorElement={<ErrorPage />}>
3636
<Route errorElement={<ErrorPage />}>
3737
<Route index element={<LandingPage />} />

0 commit comments

Comments
 (0)