http hostname fix

This commit is contained in:
Roman Hergenreder 2020-06-26 19:38:24 +02:00
parent 80f68760b3
commit 9442a120ab

@ -26,7 +26,7 @@ class Settings {
}
public static function loadDefaults() : Settings {
$hostname = php_uname("n");
$hostname = $_SERVER["SERVER_NAME"];
$protocol = getProtocol();
$jwt = generateRandomString(32);