Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Client: redirect /videos/:id to /videos/watch/:id

Chocobozzzda19d94b6315
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts
index 766d29d220..4c951200c8 100644
--- a/client/src/app/videos/videos-routing.module.ts
+++ b/client/src/app/videos/videos-routing.module.ts
@@ -29,6 +29,10 @@ const videosRoutes: Routes = [
}
}
},
+ {
+ path: ':id',
+ redirectTo: 'watch/:id'
+ },
{
path: 'watch/:id',
component: VideoWatchComponent