Merge pull request #415 from gitroomhq/bugfix-config-check-ignore-cloudflare

bugfix: Ignore cloudflare in config checker, as it is no longer needed.
This commit is contained in:
James Read 2024-11-03 21:29:50 +00:00 committed by GitHub
commit cddd37ce86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -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 {