This commit is contained in:
Andras Bacsai 2023-06-16 13:37:02 +02:00
parent a0e229a489
commit 45c8b331de

View File

@ -81,9 +81,10 @@ function set_transanctional_email_settings()
"local_domain" => null,
]);
}
function base_ip() {
function base_ip()
{
$settings = InstanceSettings::get();
return "http://{$settings->public_ipv4}"
return "http://{$settings->public_ipv4}";
}
function base_url(bool $withPort = true)
{