Merge pull request #295 from claudiiii/fix/freetube-redirect

fix: missing slash in freetube redirect url
This commit is contained in:
ManeraKai 2022-05-30 18:57:29 +03:00 committed by GitHub
commit 1e26c03454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ function redirect(url, details, initiator) {
return url.href.replace(/^https?:\/{2}/, 'yattee://'); return url.href.replace(/^https?:\/{2}/, 'yattee://');
else if (isFreetube && is_main_frame) else if (isFreetube && is_main_frame)
return `freetube://https:${url.pathname}${url.search}`; return `freetube://https:/${url.pathname}${url.search}`;
else if (isFreetube && params && isFrontendYoutube) else if (isFreetube && params && isFrontendYoutube)
return; return;