mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-17 00:30:04 +00:00
Implemented admin account setup step in UI
This commit is contained in:
+4
-6
@@ -8,18 +8,16 @@ import SetupView from "Frontend/views/SetupView";
|
||||
export const routes = protectRoutes([
|
||||
{
|
||||
element: <MainLayout/>,
|
||||
handle: {title: 'Main', requiresLogin: true},
|
||||
handle: {requiresLogin: true},
|
||||
children: [
|
||||
{path: '/', element: <TestView/>, handle: {title: 'Gameyfin', requiresLogin: true}},
|
||||
{path: '/', element: <TestView/>, handle: {title: 'Gameyfin - Test'}},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
element: <LoginView/>
|
||||
path: '/login', element: <LoginView/>, handle: {requiresLogin: false}
|
||||
},
|
||||
{
|
||||
path: '/setup',
|
||||
element: <SetupView/>
|
||||
path: '/setup', element: <SetupView/>, handle: {requiresLogin: false}
|
||||
}
|
||||
]) as RouteObject[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user