mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
Refactor instanceSettings() function for improved code readability
This commit is contained in:
1 parent
4d9dcfb84c
commit
83549965ca
35 files changed
+47
-65
No files matched your search
@@ -966,7 +966,7 @@ class Service extends BaseModel
|
||||
'service_uuid' => data_get($this, 'uuid'),
|
||||
'task_uuid' => $task_uuid,
|
||||
]);
|
||||
$settings = InstanceSettings::get();
|
||||
$settings = instanceSettings();
|
||||
if (data_get($settings, 'fqdn')) {
|
||||
$url = Url::fromString($route);
|
||||
$url = $url->withPort(null);
|
||||
|
||||
Reference in new issue
Block a user