Not fetching mobile Gamma page when photos are not expected.

This commit is contained in:
DebaucheryLibrarian 2022-01-29 16:38:36 +01:00
parent 04c176fa8b
commit 52218c30f8
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ async function fetchScene(url, site, baseRelease, options) {
}
const deepUrl = getDeepUrl(url, site, baseRelease);
const mobileUrl = getDeepUrl(url, site, baseRelease, site.parameters?.mobile || site.parent?.parameters?.mobile);
const mobileUrl = options.includePhotos && getDeepUrl(url, site, baseRelease, site.parameters?.mobile || site.parent?.parameters?.mobile);
if (deepUrl) {
const [res, mobileRes] = await Promise.all([