Fixed tag photo paths. Fixed affiliate prefix slash logic.
This commit is contained in:
@@ -87,6 +87,7 @@ const popularNetworks = [
|
|||||||
'elegantangel',
|
'elegantangel',
|
||||||
'evilangel',
|
'evilangel',
|
||||||
'fakehub',
|
'fakehub',
|
||||||
|
'hentaied',
|
||||||
'hookuphotshot',
|
'hookuphotshot',
|
||||||
'hussiepass',
|
'hussiepass',
|
||||||
'julesjordan',
|
'julesjordan',
|
||||||
|
|||||||
@@ -75,8 +75,8 @@
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="tag.poster"
|
v-if="tag.poster"
|
||||||
:src="getPath(tag.poster, 'thumbnail')"
|
:src="getPath(tag.poster, 'thumbnail', { local: true })"
|
||||||
:style="{ 'background-image': `url(/${getPath(tag.poster, 'lazy')})` }"
|
:style="{ 'background-image': `url(${getPath(tag.poster, 'lazy', { local: true })})` }"
|
||||||
:title="tag.poster.comment"
|
:title="tag.poster.comment"
|
||||||
class="thumb"
|
class="thumb"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ export function getAffiliateSceneUrl(scene) {
|
|||||||
const scenePath = new URL(watchUrl).pathname;
|
const scenePath = new URL(watchUrl).pathname;
|
||||||
|
|
||||||
return format(scene.affiliate.parameters.dynamicScene, {
|
return format(scene.affiliate.parameters.dynamicScene, {
|
||||||
scenePath: scene.affiliate.parameters.prefixSlash
|
scenePath: scene.affiliate.parameters.prefixSlash === false
|
||||||
? scenePath
|
? scenePath.replace(/^\//, '')
|
||||||
: scenePath.replace(/^\//, ''),
|
: scenePath,
|
||||||
entryId: scene.entryId,
|
entryId: scene.entryId,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
2
static
2
static
Submodule static updated: 8f331b46e7...4e5c91df28
Reference in New Issue
Block a user