dalao-proxy
Version:
An expandable HTTP proxy based on the plug-in system for frontend developers with request caching request mock and development!
27 lines (24 loc) • 433 B
JavaScript
const defaultConfig = {
/**
* should check all installed plugins
*/
checkPlugins: true,
/**
* disabled plugins list
*/
blackList: []
};
module.exports = {
setting() {
return {
optionsField: 'check',
defaultEnable: true
}
},
parser(rawConfig) {
return {
...defaultConfig,
...(rawConfig || {})
}
}
};