Disable exchange rates by default.

This commit is contained in:
James Cole 2024-03-18 06:20:33 +01:00
parent f591996f04
commit db0dbcfcf1
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
3 changed files with 7 additions and 2 deletions

View File

@ -184,6 +184,11 @@ SEND_REPORT_JOURNALS=true
# Since this involves an external service, it's optional and disabled by default.
ENABLE_EXTERNAL_MAP=false
#
# Enable or disable exchange rate conversion. This function isn't used yet by Firefly III
#
ENABLE_EXCHANGE_RATES=false
# Set this value to true if you want Firefly III to download currency exchange rates
# from the internet. These rates are hosted by the creator of Firefly III inside
# an Azure Storage Container.

View File

@ -32,7 +32,7 @@ use Illuminate\Support\ServiceProvider;
/**
* Class AdminServiceProvider
*/
class AdminServiceProvider extends ServiceProvider
class AdminServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.

View File

@ -24,7 +24,7 @@ declare(strict_types=1);
return [
'url' => 'https://ff3exchangerates.z6.web.core.windows.net',
'enabled' => true,
'enabled' => env('ENABLE_EXCHANGE_RATES', false),
'download_enabled' => env('ENABLE_EXTERNAL_RATES', false),
// if currencies are added, default rates must be added as well!