Fix URL copy in embed

This commit is contained in:
Chocobozzz
2021-07-26 13:37:18 +02:00
parent c1936140b9
commit a66424978c

View File

@@ -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)