diff --git a/core/Configuration/Settings.class.php b/core/Configuration/Settings.class.php index 2471f93..73f47bd 100644 --- a/core/Configuration/Settings.class.php +++ b/core/Configuration/Settings.class.php @@ -26,7 +26,7 @@ class Settings { } public static function loadDefaults() : Settings { - $hostname = php_uname("n"); + $hostname = $_SERVER["SERVER_NAME"]; $protocol = getProtocol(); $jwt = generateRandomString(32);