mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
fix
This commit is contained in:
1 parent
6d9a66ff1b
commit
423dfc6280
1 file changed
+4
@@ -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