mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
refactor: set fileAcl to none
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user