Skip to content

X-Profiler/egg-xtransit

Repository files navigation

egg-xtransit

NPM version Known Vulnerabilities npm download

Install

$ npm i --save egg-xtransit

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.xtransit = {
  server: '<xtransit-server address>',
  appId: '<your appId>',
  appSecret: '<your appSecret>'
};

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

Questions & Suggestions

Please open an issue here.

License

BSD-2-Clause