From a66424978c681af87aaee92ce6d2ca600d79b82c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 26 Jul 2021 13:37:18 +0200 Subject: Fix URL copy in embed --- client/src/assets/player/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts index 2bb70d1fa..f26176acc 100644 --- a/client/src/assets/player/utils.ts +++ b/client/src/assets/player/utils.ts @@ -65,7 +65,7 @@ function buildVideoLink (options: { const url = baseUrl ? baseUrl - : window.location.origin + window.location.pathname.replace('/embed/', '/w/') + : window.location.origin + window.location.pathname.replace('/videos/embed/', '/w/') const params = generateParams(window.location.search) -- cgit v1.2.3