@quintype/framework 7.34.4 → 7.34.5-amp-ad-free.0
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
|
@@ -144,6 +144,10 @@ async function ampStoryPageHandler(
|
|
|
144
144
|
});
|
|
145
145
|
merge(mergedAdditionalConfig, additionalConfig, fetchedAdditionalConfig);
|
|
146
146
|
}
|
|
147
|
+
// the query appending happens in the worker, this is needed for any publisher who needs ad-free in amp story
|
|
148
|
+
if(req && req.query && req.query.subscriber === "true") {
|
|
149
|
+
merge(mergedAdditionalConfig, { subscriber: true })
|
|
150
|
+
}
|
|
147
151
|
const optimizeAmpHtml = get(domainSpecificOpts, ["featureConfig", "optimizeAmpHtml"], true);
|
|
148
152
|
const ampHtml = ampifyStory({
|
|
149
153
|
story,
|