diff options
Diffstat (limited to 'client/src/app/videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 572f33d5e..66153e033 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes, UrlSegment } from '@angular/router' |
3 | import { VideoLocalComponent } from '@app/videos/video-list/video-local.component' | 3 | import { VideoLocalComponent } from '@app/videos/video-list/video-local.component' |
4 | import { MetaGuard } from '@ngx-meta/core' | 4 | import { MetaGuard } from '@ngx-meta/core' |
5 | import { VideoSearchComponent } from './video-list' | 5 | import { VideoSearchComponent } from './video-list' |
@@ -73,11 +73,6 @@ const videosRoutes: Routes = [ | |||
73 | } | 73 | } |
74 | }, | 74 | }, |
75 | { | 75 | { |
76 | path: ':uuid', | ||
77 | pathMatch: 'full', | ||
78 | redirectTo: 'watch/:uuid' | ||
79 | }, | ||
80 | { | ||
81 | path: 'watch/:uuid', | 76 | path: 'watch/:uuid', |
82 | loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule', | 77 | loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule', |
83 | data: { | 78 | data: { |