-
-
Notifications
You must be signed in to change notification settings - Fork 485
Open
Labels
Description
Bug description
The package considers any prefix before the main domain as a tenant and hence throws the error Tenant could not be identified on domain on TenantCouldNotBeIdentifiedOnDomainException. This error doesn't appear on localhost till i deployed to production server.
Steps to reproduce
After creating tenants, I tried accessing tenants from the browser i observed it has a prefix of www.
This then throughs an error www.tenant not identified on domain
Expected behavior
It is expected that the package should ignore the www. prefix before the tenant or accommodate without through the tenant not found error.
Laravel version
8.2.0
stancl/tenancy version
3.1.0
Reactions are currently unavailable