Make Chrly's domain configurable

This commit is contained in:
ErickSkrauch
2021-03-04 05:58:07 +01:00
parent 163bbe68a2
commit bd168808b2
5 changed files with 13 additions and 5 deletions

View File

@@ -19,7 +19,10 @@ return [
'singletons' => [
GuzzleHttp\ClientInterface::class => GuzzleHttp\Client::class,
Ely\Mojang\Api::class => Ely\Mojang\Api::class,
common\components\SkinsSystemApi::class => common\components\SkinsSystemApi::class,
common\components\SkinsSystemApi::class => [
'class' => common\components\SkinsSystemApi::class,
'__construct()' => 'http://' . (getenv('CHRLY_HOST') ?: 'skinsystem.ely.by'),
],
],
],
'components' => [