Update Intellectual redirects

This commit is contained in:
Pierce Thompson
2024-04-03 14:12:20 -04:00
committed by Pierce Thompson
parent 3250001c7b
commit ff93a22b98

View File

@@ -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": {