Skip to content

Commit

Permalink
Merge pull request #918 from Insprill/fix/intellectual
Browse files Browse the repository at this point in the history
Update Intellectual redirects
  • Loading branch information
ManeraKai authored Apr 20, 2024
2 parents 3250001 + ff93a22 commit a0e0071
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/assets/javascripts/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit a0e0071

Please sign in to comment.