mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
chrone: sperate client and server to different repos.
This commit is contained in:
36
src/routes/authentication.js
Normal file
36
src/routes/authentication.js
Normal file
@@ -0,0 +1,36 @@
|
||||
import LazyLoader from 'components/LazyLoader';
|
||||
|
||||
const BASE_URL = '/auth';
|
||||
|
||||
export default [
|
||||
{
|
||||
path: `${BASE_URL}/login`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/Login'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/send_reset_password`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/SendResetPassword'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/reset_password/:token`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/ResetPassword'),
|
||||
}),
|
||||
},
|
||||
// {
|
||||
// path: `${BASE_URL}/invite/:token/accept`,
|
||||
// component: LazyLoader({
|
||||
// loader: () => import('containers/Authentication/InviteAccept'),
|
||||
// }),
|
||||
// },
|
||||
{
|
||||
path: `${BASE_URL}/register`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/Register'),
|
||||
}),
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user