diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 16:05:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-25 11:00:43 +0200 |
commit | f36da21e40104a50acb00132920b835240cebb38 (patch) | |
tree | a513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/app-routing.module.ts | |
parent | a353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff) | |
download | PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip |
Update angular
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r-- | client/src/app/app-routing.module.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index 7ca51f226..b5a677d15 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts | |||
@@ -8,31 +8,31 @@ import { CustomReuseStrategy } from '@app/core/routing/custom-reuse-strategy' | |||
8 | const routes: Routes = [ | 8 | const routes: Routes = [ |
9 | { | 9 | { |
10 | path: 'admin', | 10 | path: 'admin', |
11 | loadChildren: './+admin/admin.module#AdminModule' | 11 | loadChildren: () => import('./+admin/admin.module').then(m => m.AdminModule) |
12 | }, | 12 | }, |
13 | { | 13 | { |
14 | path: 'my-account', | 14 | path: 'my-account', |
15 | loadChildren: './+my-account/my-account.module#MyAccountModule' | 15 | loadChildren: () => import('./+my-account/my-account.module').then(m => m.MyAccountModule) |
16 | }, | 16 | }, |
17 | { | 17 | { |
18 | path: 'verify-account', | 18 | path: 'verify-account', |
19 | loadChildren: './+signup/+verify-account/verify-account.module#VerifyAccountModule' | 19 | loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule) |
20 | }, | 20 | }, |
21 | { | 21 | { |
22 | path: 'accounts', | 22 | path: 'accounts', |
23 | loadChildren: './+accounts/accounts.module#AccountsModule' | 23 | loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule) |
24 | }, | 24 | }, |
25 | { | 25 | { |
26 | path: 'video-channels', | 26 | path: 'video-channels', |
27 | loadChildren: './+video-channels/video-channels.module#VideoChannelsModule' | 27 | loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule) |
28 | }, | 28 | }, |
29 | { | 29 | { |
30 | path: 'about', | 30 | path: 'about', |
31 | loadChildren: './+about/about.module#AboutModule' | 31 | loadChildren: () => import('./+about/about.module').then(m => m.AboutModule) |
32 | }, | 32 | }, |
33 | { | 33 | { |
34 | path: 'signup', | 34 | path: 'signup', |
35 | loadChildren: './+signup/+register/register.module#RegisterModule' | 35 | loadChildren: () => import('./+signup/+register/register.module').then(m => m.RegisterModule) |
36 | }, | 36 | }, |
37 | { | 37 | { |
38 | path: '', | 38 | path: '', |
@@ -40,7 +40,7 @@ const routes: Routes = [ | |||
40 | }, | 40 | }, |
41 | { | 41 | { |
42 | path: '**', | 42 | path: '**', |
43 | loadChildren: './+page-not-found/page-not-found.module#PageNotFoundModule' | 43 | loadChildren: () => import('./+page-not-found/page-not-found.module').then(m => m.PageNotFoundModule) |
44 | } | 44 | } |
45 | ] | 45 | ] |
46 | 46 | ||