mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
fix
This commit is contained in:
@@ -37,6 +37,10 @@ class InstanceSettings extends Model implements SendsEmail
|
||||
return $envDefined;
|
||||
}
|
||||
$url = Url::fromString(Request::getSchemeAndHttpHost());
|
||||
$port = $url->getPort();
|
||||
if ($port) {
|
||||
return 6001;
|
||||
}
|
||||
if ($url->getScheme() === 'https') {
|
||||
return 443;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user