/egg-super-cors

Primary LanguageJavaScriptMIT LicenseMIT

egg-superCors

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-superCors --save

Usage

// {app_root}/config/plugin.js
exports.superCors = {
  enable: true,
  package: 'egg-superCors',
};

Configuration

// {app_root}/config/config.default.js
exports.superCors = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT