Moved all tag photos to public asset directory.

This commit is contained in:
2019-12-11 02:25:25 +01:00
parent 1d1b36bf76
commit 18f37e3fbd
85 changed files with 237 additions and 133 deletions

View File

@@ -28,6 +28,10 @@ function getPoster(posterElement, sceneId) {
const posterRangeData = posterRange ? JSON.parse(posterRange) : null;
const posterTimeRange = posterRangeData[Math.floor(Math.random() * posterRangeData.length)];
if (!posterTimeRange) {
return null;
}
if (typeof posterTimeRange === 'number') {
// poster time is already a single time value
return `https://legalporno.com/casting/${sceneId}/${posterTimeRange}`;