Skip to content

Commit 07bac0b

Browse files
committed
fix: use validated env variables correctly
1 parent a6a1ad0 commit 07bac0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/s3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
1010

1111
export const s3 = new S3Client({
1212
region: "auto",
13-
endpoint: process.env.S3_ENDPOINT,
13+
endpoint: env.S3_ENDPOINT,
1414
credentials: {
1515
accessKeyId: env.S3_ACCESS_KEY,
1616
secretAccessKey: env.S3_SECRET_KEY,

0 commit comments

Comments
 (0)