mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 19:28:29 +00:00
url: fix botched lint
This commit is contained in:
parent
fba7653d6e
commit
98929c493c
@ -23,7 +23,7 @@ function aliasURL(url) {
|
||||
** but we only care about the 1st segment of the path */
|
||||
url = new URL(`https://youtube.com/watch?v=${
|
||||
encodeURIComponent(parts[1])
|
||||
}`)
|
||||
}`)
|
||||
}
|
||||
break;
|
||||
|
||||
@ -31,7 +31,7 @@ function aliasURL(url) {
|
||||
if (url.hostname === 'pin.it' && parts.length === 2) {
|
||||
url = new URL(`https://pinterest.com/url_shortener/${
|
||||
encodeURIComponent(parts[1])
|
||||
}`)
|
||||
}`)
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user