Skip to content

Commit

Permalink
Merge pull request #415 from gitroomhq/bugfix-config-check-ignore-clo…
Browse files Browse the repository at this point in the history
…udflare

bugfix: Ignore cloudflare in config checker, as it is no longer needed.
  • Loading branch information
jamesread authored Nov 3, 2024
2 parents 86d0d24 + 31e78a8 commit cddd37c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libraries/helpers/src/configuration/configuration.checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cddd37c

Please sign in to comment.