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/shared/shared-main/video/video.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-main/video') diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index 526d10e32..e7f739bfe 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts @@ -88,7 +88,7 @@ export class Video implements VideoServerModel { pluginData?: any static buildClientUrl (videoUUID: string) { - return '/videos/watch/' + videoUUID + return '/w/' + videoUUID } constructor (hash: VideoServerModel, translations = {}) { -- cgit v1.2.3