diff options
Diffstat (limited to 'client/src/app/videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 505173a5b..bc7520207 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -77,7 +77,7 @@ const videosRoutes: Routes = [ | |||
77 | }, | 77 | }, |
78 | { | 78 | { |
79 | path: 'upload', | 79 | path: 'upload', |
80 | loadChildren: 'app/videos/+video-edit/video-add.module#VideoAddModule', | 80 | loadChildren: () => import('app/videos/+video-edit/video-add.module').then(m => m.VideoAddModule), |
81 | data: { | 81 | data: { |
82 | meta: { | 82 | meta: { |
83 | title: 'Upload a video' | 83 | title: 'Upload a video' |
@@ -86,7 +86,7 @@ const videosRoutes: Routes = [ | |||
86 | }, | 86 | }, |
87 | { | 87 | { |
88 | path: 'update/:uuid', | 88 | path: 'update/:uuid', |
89 | loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule', | 89 | loadChildren: () => import('app/videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), |
90 | data: { | 90 | data: { |
91 | meta: { | 91 | meta: { |
92 | title: 'Edit a video' | 92 | title: 'Edit a video' |
@@ -95,7 +95,7 @@ const videosRoutes: Routes = [ | |||
95 | }, | 95 | }, |
96 | { | 96 | { |
97 | path: 'watch', | 97 | path: 'watch', |
98 | loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule', | 98 | loadChildren: () => import('app/videos/+video-watch/video-watch.module').then(m => m.VideoWatchModule), |
99 | data: { | 99 | data: { |
100 | preload: 3000 | 100 | preload: 3000 |
101 | } | 101 | } |