Update Intellectual redirects
This commit is contained in:
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": {
|
||||
|
|
Loading…
Reference in New Issue