fix base route
This commit is contained in:
parent
7108ea44d8
commit
ed325c7e14
@ -21,7 +21,7 @@ import {UnavailableComponent} from './pages/unavailable/unavailable.component';
|
|||||||
import {NotfoundComponent} from './pages/notfound/notfound.component';
|
import {NotfoundComponent} from './pages/notfound/notfound.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{path: '', redirectTo: "/account", pathMatch: 'full'},
|
{path: '', redirectTo: "/account/info", pathMatch: 'full'},
|
||||||
{path: 'imprint', component: ImprintComponent, canActivate: [AuthUpdateGuard]},
|
{path: 'imprint', component: ImprintComponent, canActivate: [AuthUpdateGuard]},
|
||||||
{path: 'privacy-policy', component: PrivacyPolicyComponent, canActivate: [AuthUpdateGuard]},
|
{path: 'privacy-policy', component: PrivacyPolicyComponent, canActivate: [AuthUpdateGuard]},
|
||||||
{path: 'terms-of-service', component: TermsOfServiceComponent, canActivate: [AuthUpdateGuard]},
|
{path: 'terms-of-service', component: TermsOfServiceComponent, canActivate: [AuthUpdateGuard]},
|
||||||
|
Loading…
Reference in New Issue
Block a user