Fix redirect (#76)

This commit is contained in:
Rinat Arsaev 2022-04-07 13:58:02 +03:00 committed by GitHub
parent 07869f6d89
commit 6486bb40fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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],