1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-12-16 00:11:21 +02:00

improving loading

This commit is contained in:
Patrik Braun
2017-07-20 21:06:48 +02:00
parent 0da83953f8
commit 17581e10c7
6 changed files with 63 additions and 6 deletions

View File

@@ -34,7 +34,8 @@ const ROUTES: Routes = [
path: 'share/:sharingKey',
component: GalleryComponent
},
{path: '', redirectTo: '/login', pathMatch: 'full'}
{path: '', redirectTo: '/login', pathMatch: 'full'},
{path: '**', redirectTo: '/login', pathMatch: 'full'}
];
export const appRoutes: ModuleWithProviders = RouterModule.forRoot(ROUTES);