Skip to content

Commit

Permalink
refactor(envited.ascs.digital): rename env variable
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen Branje <[email protected]>
  • Loading branch information
jeroenbranje committed Feb 27, 2024
1 parent 75b5131 commit ce8c7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/envited.ascs.digital/common/aws/S3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const _getUploadUrl =
const command = new putObjectCommand({
ACL: 'public-read',
Key: `${crypto.randomUUID()}-${filename}`,
Bucket: process.env.UPLOAD_BUCKET_NAME,
Bucket: process.env.NEXT_PUBLIC_UPLOAD_BUCKET_NAME,
})

return await getSignedUrl(s3Client, command)
Expand Down

0 comments on commit ce8c7a4

Please sign in to comment.