Fix immediate bugs with Docker + LiquidSoap.
This commit is contained in:
parent
cd54a4e4a1
commit
a9fcf2b4cc
|
@ -118,7 +118,7 @@ return function (\Slim\Container $di, array $app_settings) {
|
|||
$di[\Controller\Api\InternalController::class] = function($di) {
|
||||
return new \Controller\Api\InternalController(
|
||||
$di[\AzuraCast\Acl\StationAcl::class],
|
||||
$di[\Doctrine\ORM\EntityManager::class],
|
||||
$di[\AzuraCast\Radio\Adapters::class],
|
||||
$di[\AzuraCast\Sync\NowPlaying::class]
|
||||
);
|
||||
};
|
||||
|
|
|
@ -321,7 +321,7 @@ class Liquidsoap extends BackendAbstract
|
|||
protected function _getApiUrlCommand($endpoint, $params = [])
|
||||
{
|
||||
// Docker cURL-based API URL call with API authentication.
|
||||
if (APP_INSIDE_DOCKER && false) {
|
||||
if (APP_INSIDE_DOCKER) {
|
||||
$params = (array)$params;
|
||||
$params['api_auth'] = $this->station->getAdapterApiKey();
|
||||
|
||||
|
|
Loading…
Reference in New Issue