Skip to content

Commit

Permalink
fix for once and all??
Browse files Browse the repository at this point in the history
  • Loading branch information
cmayeux05 committed Oct 21, 2024
1 parent 14fddaf commit 07398db
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions server/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
},
},
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 07398db

Please sign in to comment.