refactor: update route paths

This commit is contained in:
codytseng 2024-12-06 23:14:07 +08:00
parent cefe3bb66a
commit 5dd3908db1
2 changed files with 10 additions and 10 deletions

View file

@ -10,11 +10,11 @@ import RelaySettingsPage from './pages/secondary/RelaySettingsPage'
const ROUTES = [
{ path: '/', element: <HomePage /> },
{ path: '/note', element: <NoteListPage /> },
{ path: '/note/:id', element: <NotePage /> },
{ path: '/user', element: <ProfileListPage /> },
{ path: '/user/:id', element: <ProfilePage /> },
{ path: '/user/:id/following', element: <FollowingListPage /> },
{ path: '/notes', element: <NoteListPage /> },
{ path: '/notes/:id', element: <NotePage /> },
{ path: '/users', element: <ProfileListPage /> },
{ path: '/users/:id', element: <ProfilePage /> },
{ path: '/users/:id/following', element: <FollowingListPage /> },
{ path: '/relay-settings', element: <RelaySettingsPage /> }
]