mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
Fix redirect (#76)
This commit is contained in:
parent
07869f6d89
commit
6486bb40fc
@ -5,10 +5,19 @@ import { AppAuthGuardService } from '@cc/app/shared/services';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forRoot([], {
|
||||
paramsInheritanceStrategy: 'always',
|
||||
relativeLinkResolution: 'legacy',
|
||||
}),
|
||||
RouterModule.forRoot(
|
||||
[
|
||||
{
|
||||
path: '',
|
||||
redirectTo: '/payouts',
|
||||
pathMatch: 'full',
|
||||
},
|
||||
],
|
||||
{
|
||||
paramsInheritanceStrategy: 'always',
|
||||
relativeLinkResolution: 'legacy',
|
||||
}
|
||||
),
|
||||
],
|
||||
providers: [AppAuthGuardService],
|
||||
exports: [RouterModule],
|
||||
|
Loading…
Reference in New Issue
Block a user