Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Nov 20, 2024
1 parent 8744f31 commit 298e2ec
Showing 1 changed file with 34 additions and 33 deletions.
67 changes: 34 additions & 33 deletions api/config/plugins.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
module.exports = ({ env }) => ({
'sitemap': {
enabled: true,
config: {
cron: '0 0 0 * * *',
limit: 45000,
xsl: true,
autoGenerate: false,
caching: true,
allowedFields: ['id', 'uid'],
excludedTypes: [],
},
sitemap: {
enabled: true,
config: {
cron: "0 0 0 * * *",
limit: 45000,
xsl: true,
autoGenerate: false,
caching: true,
allowedFields: ["id", "uid"],
excludedTypes: [],
},
upload: {
config: {
provider: 'aws-s3',
providerOptions: {
s3Options: {
region: env('bucket_region'),
endpoint: env('bucket_endpoint'),
credentials: {
accessKeyId: env('bucket_access_key'),
secretAccessKey: env('bucket_secret_key'),
},
params: {
ACL: 'public-read',
signedUrlExpires: 15 * 60,
Bucket: env('bucket_name'),
},
},
upload: {
config: {
provider: "aws-s3",
providerOptions: {
rootPath: "seed-s3/",
s3Options: {
region: env("bucket_region"),
endpoint: env("bucket_endpoint"),
credentials: {
accessKeyId: env("bucket_access_key"),
secretAccessKey: env("bucket_secret_key"),
},
params: {
ACL: "public-read",
signedUrlExpires: 15 * 60,
Bucket: env("bucket_name"),
},
},
actionOptions: {
upload: {},
uploadStream: {},
delete: {},
},
},
actionOptions: {
upload: {},
uploadStream: {},
delete: {},
},
},
});
},
})

0 comments on commit 298e2ec

Please sign in to comment.