Client: redirect /videos/:id to /videos/watch/:id
This commit is contained in:
parent
ea070c93cc
commit
da19d94b63
|
@ -29,6 +29,10 @@ const videosRoutes: Routes = [
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: ':id',
|
||||||
|
redirectTo: 'watch/:id'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'watch/:id',
|
path: 'watch/:id',
|
||||||
component: VideoWatchComponent
|
component: VideoWatchComponent
|
||||||
|
|
Loading…
Reference in New Issue