Skip to content

Commit 95a7330

Browse files
committed
move params to config
1 parent dfd5b7c commit 95a7330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/views.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function(app) {
133133
debug: getBooleanParam(req, 'debug'),
134134
returnProviderOptionsUsage: getBooleanParam(req, 'debug'),
135135
mixAllWithDomainPlugin: getBooleanParam(req, 'mixAllWithDomainPlugin'),
136-
forceParams: req.query.meta === "true" ? ["meta", "oembed"] : null,
136+
forceParams: req.query.meta === "true" ? CONFIG.DEBUG_CONTEXTS : null,
137137
whitelist: getBooleanParam(req, 'whitelist'),
138138
readability: getBooleanParam(req, 'readability'),
139139
getWhitelistRecord: whitelist.findWhitelistRecordFor,

0 commit comments

Comments
 (0)