filamentphp-noob
Multi Tenancy - Fixed subdomain and dynamic tenant domain
Hey everyone,
I was wondering if it's possible to achieve the following using Filament's Multi tenancy capabilities.
I'd like to have a fixed subdomain, say "quote" and then the rest of the domain is dynamic (the tenant table has a domain column)
So it would essentially look like this: quote.tenant-domain.com
The below is how the
->tenant
and ->tenantDomain
methods are used, however, the quote subdomain here ->tenantDomain('quote.{tenant:domain}');
causes a redirect loop which I'm not sure how to resolve.
I can sort of achieve the fixed quote subdomain but only when editing the vendor/filament/filament/routes/web.php
file
from this:
to this
1 replies