fix: public service database

This commit is contained in:
Andras Bacsai
2024-03-25 12:13:43 +01:00
parent 9ad6ce5851
commit 7c580f898c
6 changed files with 13 additions and 12 deletions

View File

@@ -57,8 +57,7 @@ class ServiceDatabase extends BaseModel
if ($this->service->server->isLocalhost() || isDev()) {
$realIp = base_ip();
}
$url = "{$realIp}:{$port}";
return $url;
return "{$realIp}:{$port}";
}
public function service()
{