This commit is contained in:
ManeraKai 2023-06-02 16:10:04 +03:00
parent 362f6e7546
commit b252abd379
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,9 @@ function redirect(url, type, initiator, forceRedirection) {
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": {