Merge pull request #1278 from OpenSignLabs/validation

This commit is contained in:
Andrew
2024-09-30 21:26:23 +05:30
committed by GitHub
+2 -1
View File
@@ -24,8 +24,9 @@ if (useLocal !== 'true') {
try {
const spacesEndpoint = new AWS.Endpoint(process.env.DO_ENDPOINT);
const s3Options = {
bucket: process.env.DO_SPACE, // globalConfig.S3FilesAdapter.bucket,
bucket: process.env.DO_SPACE,
baseUrl: process.env.DO_BASEURL,
fileAcl: 'none',
region: process.env.DO_REGION,
directAccess: true,
preserveFileName: true,