]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/videos-routing.module.ts
Fix player resolution change that plays even if the video was paused
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos-routing.module.ts
index 572f33d5e04577817bb01b15ec5d215836811d66..66153e0337a354a2c4db7f1a3fa7d52c3066975b 100644 (file)
@@ -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',