Merge pull request #295 from claudiiii/fix/freetube-redirect
fix: missing slash in freetube redirect url
This commit is contained in:
commit
1e26c03454
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue