diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-31 11:35:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-31 14:24:13 +0200 |
commit | a51bad1accfade25916db0dadaeb879a182cf19b (patch) | |
tree | 128330863a1125be437cf8ba9bc0c6c529068520 /client/src/app/videos/videos-routing.module.ts | |
parent | 351d5225d6a4fe6863f760f02454eac88f730607 (diff) | |
download | PeerTube-a51bad1accfade25916db0dadaeb879a182cf19b.tar.gz PeerTube-a51bad1accfade25916db0dadaeb879a182cf19b.tar.zst PeerTube-a51bad1accfade25916db0dadaeb879a182cf19b.zip |
Add 404 page
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: { |