aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/app-routing.module.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts
index 0b31bf453..30e615b3e 100644
--- a/client/src/app/app-routing.module.ts
+++ b/client/src/app/app-routing.module.ts
@@ -2,6 +2,7 @@ import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3 3
4import { PreloadSelectedModulesList } from './core' 4import { PreloadSelectedModulesList } from './core'
5import { AppComponent } from '@app/app.component'
5 6
6const routes: Routes = [ 7const routes: Routes = [
7 { 8 {
@@ -25,6 +26,10 @@ const routes: Routes = [
25 loadChildren: './+about/about.module#AboutModule' 26 loadChildren: './+about/about.module#AboutModule'
26 }, 27 },
27 { 28 {
29 path: '',
30 component: AppComponent // Avoid 404, app component will redirect dynamically
31 },
32 {
28 path: '**', 33 path: '**',
29 loadChildren: './+page-not-found/page-not-found.module#PageNotFoundModule' 34 loadChildren: './+page-not-found/page-not-found.module#PageNotFoundModule'
30 } 35 }