Define default value for AUTHSERVER_HOST

This commit is contained in:
ErickSkrauch 2019-08-08 02:49:04 +03:00
parent 89f7195a37
commit 23a220637c

View File

@ -5,7 +5,7 @@ return [
'bootstrap' => ['log', 'authserver', 'internal', 'mojang'],
'controllerNamespace' => 'api\controllers',
'params' => [
'authserverHost' => getenv('AUTHSERVER_HOST'),
'authserverHost' => getenv('AUTHSERVER_HOST') ?: 'authserver.ely.by',
],
'components' => [
'user' => [