Compare commits

..

No commits in common. "47238b2969a77fa3412c13747b820dbd26b324f6" and "cefd91a7b9832a38b398c66ffc1351b489a67d97" have entirely different histories.

3 changed files with 5 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.137.5",
"version": "1.137.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.137.5",
"version": "1.137.4",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -14,8 +14,8 @@ function curateEntity(entity, includeParameters = false) {
}
const logo = (entity.has_logo
&& (((entity.independent || entity.type === 'network') && { logo: `${entity.slug}/network.png`, thumbnail: `${entity.slug}/thumbs/network.png`, favicon: `${entity.slug}/favicon.png` })
|| (entity.parent && { logo: `${entity.parent.slug}/${entity.slug}.png`, thumbnail: `${entity.parent.slug}/thumbs/${entity.slug}.png`, favicon: `${entity.parent.slug}/favicon.png` })))
&& (((entity.independent || entity.type === 'network') && `${entity.slug}/network.png`)
|| (entity.parent && `${entity.parent.slug}/${entity.slug}.png`)))
|| null;
const curatedEntity = entity.id ? {
@ -27,7 +27,7 @@ function curateEntity(entity, includeParameters = false) {
type: entity.type,
independent: !!entity.independent,
aliases: entity.alias,
...logo,
logo,
parent: curateEntity(entity.parent, includeParameters),
} : {};