forked from DebaucheryLibrarian/traxxx
Added Full Porn Network sites.
This commit is contained in:
@@ -32,11 +32,14 @@ function curateEntity(entity, includeParameters = false) {
|
||||
|| (entity.parent && { logo: `${entity.parent.slug}/${entity.slug}.png`, thumbnail: `${entity.parent.slug}/thumbs/${entity.slug}.png`, favicon: `${entity.parent.slug}/favicon.png` })))
|
||||
|| null;
|
||||
|
||||
const url = entity.url && new URL(entity.url);
|
||||
|
||||
const curatedEntity = entity.id ? {
|
||||
id: entity.id,
|
||||
name: entity.name,
|
||||
url: entity.url,
|
||||
origin: entity.url && new URL(entity.url).origin,
|
||||
origin: url?.origin,
|
||||
pathname: url?.pathname,
|
||||
description: entity.description,
|
||||
slug: entity.slug,
|
||||
type: entity.type,
|
||||
|
||||
Reference in New Issue
Block a user