X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos-routing.module.ts;h=da786c0f98a1c2fe6ff211c7b6717691c816ee97;hb=9c2e0dbfa9098675390e00ccb0fa49c51b3c6732;hp=572f33d5e04577817bb01b15ec5d215836811d66;hpb=c663955b259d356806c7b79b535fd5cfaeaf2b5e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 572f33d5e..da786c0f9 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' @@ -73,8 +73,7 @@ const videosRoutes: Routes = [ } }, { - path: ':uuid', - pathMatch: 'full', + path: 'watch/:uuid/comments/:commentId', redirectTo: 'watch/:uuid' }, {