mirror of
https://github.com/libredirect/browser_extension.git
synced 2026-08-02 18:21:12 -04:00
Update Intellectual redirects
This commit is contained in:
committed by
Pierce Thompson
parent
3250001c7b
commit
ff93a22b98
@@ -291,12 +291,6 @@ function rewrite(url, frontend, randomInstance) {
|
||||
return `${randomInstance}${url.pathname}${url.search}`
|
||||
}
|
||||
case "intellectual": {
|
||||
if (url.pathname.endsWith('-lyrics')) {
|
||||
return `${randomInstance}/lyrics?path=${encodeURIComponent(url.pathname)}`
|
||||
}
|
||||
if (url.pathname.startsWith('/artists/')) {
|
||||
return `${randomInstance}/artist?path=${url.pathname}`
|
||||
}
|
||||
return `${randomInstance}${url.pathname}${url.search}`
|
||||
}
|
||||
case "ruralDictionary": {
|
||||
|
||||
Reference in New Issue
Block a user