This commit is contained in:
Lorenz Hilpert
2022-06-02 11:45:08 +02:00
parent 348b2c4aca
commit b65d2c5ff3

View File

@@ -20,7 +20,10 @@ import { TokenLoginComponent, TokenLoginModule } from './token-login';
const routes: Routes = [
{
path: 'login',
children: [{ path: ':token', component: TokenLoginComponent }],
children: [
{ path: ':token', component: TokenLoginComponent },
{ path: '**', redirectTo: 'kunde', pathMatch: 'full' },
],
},
{
path: '',