http hostname fix
This commit is contained in:
parent
80f68760b3
commit
9442a120ab
@ -26,7 +26,7 @@ class Settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static function loadDefaults() : Settings {
|
public static function loadDefaults() : Settings {
|
||||||
$hostname = php_uname("n");
|
$hostname = $_SERVER["SERVER_NAME"];
|
||||||
$protocol = getProtocol();
|
$protocol = getProtocol();
|
||||||
$jwt = generateRandomString(32);
|
$jwt = generateRandomString(32);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user