From ab4001aade0891b70e456a215ced0f825c57fde8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Oct 2021 14:11:58 +0200 Subject: Provide origin URL to client and fix remote share --- server/models/video/formatter/video-format-utils.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server') diff --git a/server/models/video/formatter/video-format-utils.ts b/server/models/video/formatter/video-format-utils.ts index b3c4f390d..0cbad5684 100644 --- a/server/models/video/formatter/video-format-utils.ts +++ b/server/models/video/formatter/video-format-utils.ts @@ -50,6 +50,8 @@ function videoModelToFormattedJSON (video: MVideoFormattable, options?: VideoFor uuid: video.uuid, shortUUID: uuidToShort(video.uuid), + url: video.url, + name: video.name, category: { id: video.category, -- cgit v1.2.3