diff --git a/.env b/.env index 3844434..afcb185 100644 --- a/.env +++ b/.env @@ -46,4 +46,4 @@ APP_BPN_IP= APP_BPN_PORT= APP_BPN_DEBUG=false -API_KEYS= \ No newline at end of file +API_KEYS= diff --git a/config/services.yaml b/config/services.yaml index 936e1c1..bb769ea 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -36,6 +36,7 @@ services: bpn_api_ip: '%env(APP_BPN_IP)%' bpn_api_port: '%env(APP_BPN_PORT)%' debug: '%env(bool:APP_BPN_DEBUG)%' + target_folder_dumps: '%kernel.project_dir%/var/bpn' App\Twig\AppRuntime: arguments: diff --git a/src/BusProNet/ApiClient.php b/src/BusProNet/ApiClient.php index ec23347..21db8dc 100644 --- a/src/BusProNet/ApiClient.php +++ b/src/BusProNet/ApiClient.php @@ -351,9 +351,9 @@ class ApiClient $optionsResolver->setDefaults([ 'max_retries' => 25, 'debug' => false, - 'target_folder_dumps' => '/var/www/html/var/bpn', + 'target_folder_dumps' => '/tmp/bpn', ]); return $optionsResolver->resolve($options); } -} \ No newline at end of file +}