egg-super-cors

1.0.4 • Public • Published

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

Package Sidebar

Install

npm i egg-super-cors

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

6.93 kB

Total Files

7

Last publish

Collaborators

  • lirunkai