mirror of https://github.com/Chocobozzz/PeerTube
Fix URL copy in embed
parent
c1936140b9
commit
a66424978c
|
@ -65,7 +65,7 @@ function buildVideoLink (options: {
|
||||||
|
|
||||||
const url = baseUrl
|
const url = baseUrl
|
||||||
? 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)
|
const params = generateParams(window.location.search)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue