mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
refactor
This commit is contained in:
1 parent
573e5c4913
commit
2841675691
4 files changed
+39
-18
No files matched your search
@@ -1247,6 +1247,10 @@ function get_public_ips()
|
||||
}
|
||||
$settings->update(['public_ipv4' => $ipv4]);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
echo "Error: {$e->getMessage()}\n";
|
||||
}
|
||||
try {
|
||||
$ipv6 = $second->output();
|
||||
if ($ipv6) {
|
||||
$ipv6 = trim($ipv6);
|
||||
|
||||
Reference in new issue
Block a user