Fix URL copy in embed

pull/4283/head
Chocobozzz 2021-07-26 13:37:18 +02:00
parent c1936140b9
commit a66424978c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

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)