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', 'elegantangel',
'evilangel', 'evilangel',
'fakehub', 'fakehub',
'hentaied',
'hookuphotshot', 'hookuphotshot',
'hussiepass', 'hussiepass',
'julesjordan', 'julesjordan',

View File

@@ -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"

View File

@@ -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

Submodule static updated: 8f331b46e7...4e5c91df28