Skip to content

Commit

Permalink
Move debug contexts params to config (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
garmoncheg authored Sep 7, 2024
1 parent 5949342 commit 06582fe
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" ? ["meta", "oembed"] : null,
forceParams: req.query.meta === "true" ? CONFIG.DEBUG_CONTEXTS : null,
whitelist: getBooleanParam(req, 'whitelist'),
readability: getBooleanParam(req, 'readability'),
getWhitelistRecord: whitelist.findWhitelistRecordFor,
Expand Down

0 comments on commit 06582fe

Please sign in to comment.