From a1eda903a497857017495f37a1fd3593ba7ab23c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 May 2021 11:36:33 +0200 Subject: Support '/w/' and '/w/p/' for watch page And use them as default in client --- client/src/app/+search/video-lazy-load.resolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/+search') diff --git a/client/src/app/+search/video-lazy-load.resolver.ts b/client/src/app/+search/video-lazy-load.resolver.ts index d4fe6ed79..e43e0089b 100644 --- a/client/src/app/+search/video-lazy-load.resolver.ts +++ b/client/src/app/+search/video-lazy-load.resolver.ts @@ -28,7 +28,7 @@ export class VideoLazyLoadResolver implements Resolve { const video = result.data[0] - return this.router.navigateByUrl('/videos/watch/' + video.uuid) + return this.router.navigateByUrl('/w/' + video.uuid) }) ) } -- cgit v1.2.3