http hostname fix
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user