diff --git a/server/config/plugins.js b/server/config/plugins.js index 821f7314..5ecb68fc 100644 --- a/server/config/plugins.js +++ b/server/config/plugins.js @@ -23,4 +23,21 @@ module.exports = () => ({ integrations: [new Sentry.Integrations.Http({ tracing: true })], tracesSampleRate: 1.0, }, + upload: { + config: { + provider: 'local', // or another provider like 'aws-s3' + providerOptions: { + //sizeLimit: 1000000, // Set a file size limit in bytes (optional) + // Additional provider-specific configuration, e.g., AWS S3 credentials + local: { + path: './public/uploads', + keepExtensions: true, // Preserve file extensions during upload + }, + }, + actionOptions: { + upload: {}, + delete: {}, + }, + }, + }, }); diff --git a/server/extensions/documentation/documentation/1.0.0/full_documentation.json b/server/extensions/documentation/documentation/1.0.0/full_documentation.json index 9e04f36f..3233f4d7 100755 --- a/server/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/server/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "10/18/2024 9:29:42 PM" + "x-generation-date": "10/21/2024 7:55:13 PM" }, "x-strapi-config": { "path": "/documentation",