needle-innovision / nestjs-tenancy

Multi-tenancy approach for nestjs - currently supported only for mongodb with mongoose
MIT License
186 stars 58 forks source link

Subdomains not identified by default. #6

Closed jarrilla closed 3 years ago

jarrilla commented 3 years ago

Similar (or same) issue as here: https://github.com/needle-innovision/nestjs-tenancy/issues/3#issue-696412315

When using isTenantFromSubdomain: true Tenants are not being identified.

This seems to be an issue with subdomains not being read properly by nestjs.

sandeepsuvit commented 3 years ago

@jarrilla Thanks for the note. Reviewing your PR. Will provide an update once approved.

jarrilla commented 3 years ago

This was an issue with testing in a local environment.

See https://github.com/needle-innovision/nestjs-tenancy/pull/7#issuecomment-757958355

sandeepsuvit commented 3 years ago

Thanks @jarrilla