Skip to content

Commit

Permalink
Revert "Move debug contexts params to config (#552)"
Browse files Browse the repository at this point in the history
This reverts commit 06582fe.
  • Loading branch information
iparamonau authored Sep 7, 2024
1 parent 06582fe commit 127936c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 127936c

Please sign in to comment.