fix: make DashboardController respect port 8081 for tenant
This commit is contained in:
@@ -16,7 +16,7 @@ class DashboardController extends Controller
|
|||||||
{
|
{
|
||||||
$centralDomains = config('tenancy.central_domains', []);
|
$centralDomains = config('tenancy.central_domains', []);
|
||||||
|
|
||||||
if (in_array(request()->getHost(), $centralDomains)) {
|
if (request()->getPort() != 8081 && in_array(request()->getHost(), $centralDomains)) {
|
||||||
return redirect()->route('landlord.dashboard');
|
return redirect()->route('landlord.dashboard');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user