From 31e78a8c1ceedd210fbc3aa0f790d35a96703370 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sun, 3 Nov 2024 21:21:57 +0000 Subject: [PATCH] bugfix: Ignore cloudflare in config checker, as it is no longer needed. --- .../helpers/src/configuration/configuration.checker.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libraries/helpers/src/configuration/configuration.checker.ts b/libraries/helpers/src/configuration/configuration.checker.ts index 425de8ad..7703b666 100644 --- a/libraries/helpers/src/configuration/configuration.checker.ts +++ b/libraries/helpers/src/configuration/configuration.checker.ts @@ -30,12 +30,7 @@ export class ConfigurationChecker { this.checkIsValidUrl('FRONTEND_URL') this.checkIsValidUrl('NEXT_PUBLIC_BACKEND_URL') this.checkIsValidUrl('BACKEND_INTERNAL_URL') - this.checkNonEmpty('CLOUDFLARE_ACCOUNT_ID', 'Needed to setup providers.') - this.checkNonEmpty('CLOUDFLARE_ACCESS_KEY', 'Needed to setup providers.') - this.checkNonEmpty('CLOUDFLARE_SECRET_ACCESS_KEY', 'Needed to setup providers.') - this.checkNonEmpty('CLOUDFLARE_BUCKETNAME', 'Needed to setup providers.') - this.checkNonEmpty('CLOUDFLARE_BUCKET_URL', 'Needed to setup providers.') - this.checkNonEmpty('CLOUDFLARE_REGION', 'Needed to setup providers.') + this.checkNonEmpty('STORAGE_PROVIDER', 'Needed to setup storage.') } checkNonEmpty (key: string, description?: string): boolean {