@microservice/koa-tenant

1.1.1 • Public • Published

@microservice/koa-tenant

Set a tenant context for a request either from context.auth or the subdomain. The configuration comes from rc for the time being.

Future

Should support looking up a tenant identifier from the hostname, and then getting configuration from somewhere other than rc (i.e. Consul).

Readme

Keywords

Package Sidebar

Install

npm i @microservice/koa-tenant

Weekly Downloads

0

Version

1.1.1

License

MIT

Last publish

Collaborators

  • microservice-admin