fix: use ip for sslip in dev if remote server is used

This commit is contained in:
Andras Bacsai 2024-01-09 12:48:46 +01:00
parent 404c664500
commit ee71aeaa36

View File

@ -408,7 +408,7 @@ function generateFqdn(Server $server, string $random)
}
function sslip(Server $server)
{
if (isDev()) {
if (isDev() && $server->id === 0) {
return "http://127.0.0.1.sslip.io";
}
if ($server->ip === 'host.docker.internal') {