Skip to content

Commit

Permalink
s3 may not be present!!
Browse files Browse the repository at this point in the history
  • Loading branch information
gv authored and gv committed Nov 24, 2024
1 parent 9fb0ac4 commit 4c5f0a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/aws-s3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { optimizeImage } from "./images";
// Helper to check if S3 configuration is complete
function isS3Configured(): boolean {
return !!(
config?.s3 &&
config.s3?.region &&
config.s3?.accessKeyId &&
config.s3?.secretAccessKey &&
Expand Down

0 comments on commit 4c5f0a7

Please sign in to comment.