Fixed tag photo paths. Fixed affiliate prefix slash logic.

This commit is contained in:
2026-02-06 23:05:52 +01:00
parent 56defe2c6f
commit e98254d444
4 changed files with 7 additions and 6 deletions

View File

@@ -87,6 +87,7 @@ const popularNetworks = [
'elegantangel',
'evilangel',
'fakehub',
'hentaied',
'hookuphotshot',
'hussiepass',
'julesjordan',

View File

@@ -75,8 +75,8 @@
>
<img
v-if="tag.poster"
:src="getPath(tag.poster, 'thumbnail')"
:style="{ 'background-image': `url(/${getPath(tag.poster, 'lazy')})` }"
:src="getPath(tag.poster, 'thumbnail', { local: true })"
:style="{ 'background-image': `url(${getPath(tag.poster, 'lazy', { local: true })})` }"
:title="tag.poster.comment"
class="thumb"
loading="lazy"

View File

@@ -35,9 +35,9 @@ export function getAffiliateSceneUrl(scene) {
const scenePath = new URL(watchUrl).pathname;
return format(scene.affiliate.parameters.dynamicScene, {
scenePath: scene.affiliate.parameters.prefixSlash
? scenePath
: scenePath.replace(/^\//, ''),
scenePath: scene.affiliate.parameters.prefixSlash === false
? scenePath.replace(/^\//, '')
: scenePath,
entryId: scene.entryId,
});
}

2
static

Submodule static updated: 8f331b46e7...4e5c91df28