mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix URL copy in embed
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user