Redirects when using tenantDomain

Seems when you have the tenantDomain setup - it still tries to redirect to the slug provided instead of the domain... For example the "logo" link at the top - it adds the slug to the existing URL string even though im using a domain name.
return $panel
->default()
->id('client')
->path('')
...
...
->tenant(Team::class, slugAttribute: 'domain')
->tenantRegistration(RegisterTeam::class)
->tenantProfile(EditTeamProfile::class)
->tenantDomain('{tenant:domain}.domain.test')
->tenantMenu(false);
return $panel
->default()
->id('client')
->path('')
...
...
->tenant(Team::class, slugAttribute: 'domain')
->tenantRegistration(RegisterTeam::class)
->tenantProfile(EditTeamProfile::class)
->tenantDomain('{tenant:domain}.domain.test')
->tenantMenu(false);
Yet the links seem to redirect to https://TENANT.domain.test/tenant
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?