diff --git a/lib/default-validator.js b/lib/default-validator.js index 9bf31d1..a427987 100644 --- a/lib/default-validator.js +++ b/lib/default-validator.js @@ -251,6 +251,10 @@ module.exports.validate = function validate(configObject, options={}) { assert(typeof config.accesscontrol.noRuleMatchAction === 'string', 'config.accesscontrol.noRuleMatchAction is not an string'); } } + + if (config.edgemicro.enable_GET_req_body) { + assert(typeof config.edgemicro.enable_GET_req_body === 'boolean', 'config.edgemicro.enable_GET_req_body is not a boolean'); + } return configObject; };