fix(dev): disable IP seeding in dev as it does not work
This commit is contained in:
parent
1fbc1a5540
commit
1f1fe1f184
1 changed files with 18 additions and 16 deletions
|
|
@ -23,6 +23,7 @@ public function run(): void
|
||||||
'smtp_from_address' => 'hi@localhost.com',
|
'smtp_from_address' => 'hi@localhost.com',
|
||||||
'smtp_from_name' => 'Coolify',
|
'smtp_from_name' => 'Coolify',
|
||||||
]);
|
]);
|
||||||
|
if (! isDev()) {
|
||||||
try {
|
try {
|
||||||
$ipv4 = Process::run('curl -4s https://ifconfig.io')->output();
|
$ipv4 = Process::run('curl -4s https://ifconfig.io')->output();
|
||||||
$ipv4 = trim($ipv4);
|
$ipv4 = trim($ipv4);
|
||||||
|
|
@ -43,3 +44,4 @@ public function run(): void
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue