@quintype/framework 7.28.4-image-below-fold.2 → 7.28.4-image-below-fold.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -201,7 +201,7 @@ function createStoreFromResult(url, result, opts = {}) {
|
|
|
201
201
|
currentHostUrl: result.currentHostUrl,
|
|
202
202
|
primaryHostUrl: result.primaryHostUrl,
|
|
203
203
|
isBotRequest: isBotRequest,
|
|
204
|
-
|
|
204
|
+
lazyLoadImageMargin: opts.lazyLoadImageMargin,
|
|
205
205
|
};
|
|
206
206
|
return createBasicStore(result, qt, opts);
|
|
207
207
|
}
|
|
@@ -464,7 +464,7 @@ exports.handleIsomorphicRoute = function handleIsomorphicRoute(
|
|
|
464
464
|
ampPageBasePath,
|
|
465
465
|
externalIdPattern,
|
|
466
466
|
enableExternalStories,
|
|
467
|
-
|
|
467
|
+
lazyLoadImageMargin,
|
|
468
468
|
}
|
|
469
469
|
) {
|
|
470
470
|
const url = urlLib.parse(req.url, true);
|
|
@@ -488,7 +488,7 @@ exports.handleIsomorphicRoute = function handleIsomorphicRoute(
|
|
|
488
488
|
|
|
489
489
|
const store = createStoreFromResult(url, result, {
|
|
490
490
|
disableIsomorphicComponent: statusCode != 200,
|
|
491
|
-
|
|
491
|
+
lazyLoadImageMargin,
|
|
492
492
|
});
|
|
493
493
|
|
|
494
494
|
if (lightPages) {
|
package/server/routes.js
CHANGED
|
@@ -355,7 +355,7 @@ exports.isomorphicRoutes = function isomorphicRoutes(
|
|
|
355
355
|
webengageConfig = {},
|
|
356
356
|
externalIdPattern = "",
|
|
357
357
|
enableExternalStories = false,
|
|
358
|
-
|
|
358
|
+
lazyLoadImageMargin,
|
|
359
359
|
}
|
|
360
360
|
) {
|
|
361
361
|
const withConfig = withConfigPartial(getClient, logError, publisherConfig, configWrapper);
|
|
@@ -548,7 +548,7 @@ exports.isomorphicRoutes = function isomorphicRoutes(
|
|
|
548
548
|
ampPageBasePath,
|
|
549
549
|
externalIdPattern,
|
|
550
550
|
enableExternalStories,
|
|
551
|
-
|
|
551
|
+
lazyLoadImageMargin,
|
|
552
552
|
})
|
|
553
553
|
);
|
|
554
554
|
|