fix base route

This commit is contained in:
Lurkars 2021-03-14 13:08:33 +01:00
parent 7108ea44d8
commit ed325c7e14

View File

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