From a51bad1accfade25916db0dadaeb879a182cf19b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 31 May 2018 11:35:01 +0200 Subject: Add 404 page --- client/src/app/videos/videos-routing.module.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'client/src/app/videos/videos-routing.module.ts') 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 @@ import { NgModule } from '@angular/core' -import { RouterModule, Routes } from '@angular/router' +import { RouterModule, Routes, UrlSegment } from '@angular/router' import { VideoLocalComponent } from '@app/videos/video-list/video-local.component' import { MetaGuard } from '@ngx-meta/core' import { VideoSearchComponent } from './video-list' @@ -72,11 +72,6 @@ const videosRoutes: Routes = [ } } }, - { - path: ':uuid', - pathMatch: 'full', - redirectTo: 'watch/:uuid' - }, { path: 'watch/:uuid', loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule', -- cgit v1.2.3