| @@ -4,6 +4,7 @@ import { lazy } from 'react'; | |||||
| import Loadable from 'components/Loadable'; | import Loadable from 'components/Loadable'; | ||||
| // import MinimalLayout from 'layout/MinimalLayout'; | // import MinimalLayout from 'layout/MinimalLayout'; | ||||
| import MainLayout from 'layout/MainLayout'; | import MainLayout from 'layout/MainLayout'; | ||||
| import { Navigate } from 'react-router-dom'; | |||||
| // render - login | // render - login | ||||
| const AuthLogin = Loadable(lazy(() => import('pages/authentication/Login'))); | const AuthLogin = Loadable(lazy(() => import('pages/authentication/Login'))); | ||||
| @@ -83,10 +84,18 @@ const LoginRoutes = { | |||||
| path: 'aboutUs', | path: 'aboutUs', | ||||
| element: <AboutUsPage/> | element: <AboutUsPage/> | ||||
| }, | }, | ||||
| { | |||||
| path: 'userGuide', | |||||
| element: <Navigate to="/userGuidePub" replace /> | |||||
| }, | |||||
| { | { | ||||
| path: 'userGuidePub', | path: 'userGuidePub', | ||||
| element: <UserMenuPub1Page/> | element: <UserMenuPub1Page/> | ||||
| }, | }, | ||||
| { | |||||
| path: 'userguide-fi', | |||||
| element: <Navigate to="/userGuidePub" replace /> | |||||
| }, | |||||
| { | { | ||||
| path: 'databaseHealthCheck', | path: 'databaseHealthCheck', | ||||
| element: <DatabaseHealthCheckPage/> | element: <DatabaseHealthCheckPage/> | ||||