This commit is contained in:
yourfriend 2022-07-10 22:24:30 +03:00
parent 5999e6b3f4
commit 4d69c4c696
No known key found for this signature in database
GPG key ID: C28FFD8607DAC4DE

View file

@ -15,7 +15,7 @@ export const s3 = new ApiFactory({
awsAccessKeyId: Deno.env.get("S3_ACCESS_KEY_ID")!,
awsSecretKey: Deno.env.get("S3_SECRET_KEY")!,
},
fixedEndpoint: "https://s3.us-west-004.backblazeb2.com",
fixedEndpoint: Deno.env.get("S3_ENDPOINT_URL"),
region: "us-west-004",
}).makeNew(S3);