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
No known key found for this signature in database
GPG Key ID: AAD2CDB6ACB129C5
1 changed files with 0 additions and 6 deletions

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