diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index 620d8a96a..473ebec79 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -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) {