Remove replace regex

This commit is contained in:
ChunkyProgrammer 2023-08-05 08:23:32 -04:00 committed by GitHub
parent bbe5939669
commit 8ee0485ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ function redirect(url, type, initiator, forceRedirection) {
return url.href.replace(/^https?:\/{2}/, "yattee://")
}
case "freetube": {
return 'freetube://' + url.href.replace(/^https?:\/{2}/, "https//")
return 'freetube://' + url.href
}
case "poketube": {
if (url.pathname.startsWith('/channel')) {