From 127936caf9404232455ddf3946a9c4e04c77e0e7 Mon Sep 17 00:00:00 2001 From: Ivan Paramonau Date: Sat, 7 Sep 2024 16:11:00 -0400 Subject: [PATCH] Revert "Move debug contexts params to config (#552)" This reverts commit 06582fe4c3eae050f59c728b1c988635ebb0b170. --- modules/api/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/api/views.js b/modules/api/views.js index c17334a6f..d5ce4d3f1 100644 --- a/modules/api/views.js +++ b/modules/api/views.js @@ -133,7 +133,7 @@ export default function(app) { debug: getBooleanParam(req, 'debug'), returnProviderOptionsUsage: getBooleanParam(req, 'debug'), mixAllWithDomainPlugin: getBooleanParam(req, 'mixAllWithDomainPlugin'), - forceParams: req.query.meta === "true" ? CONFIG.DEBUG_CONTEXTS : null, + forceParams: req.query.meta === "true" ? ["meta", "oembed"] : null, whitelist: getBooleanParam(req, 'whitelist'), readability: getBooleanParam(req, 'readability'), getWhitelistRecord: whitelist.findWhitelistRecordFor,