Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 9f577940
authored
2024-06-11 15:13:30 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
2fc3d85f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
config/plugins.js
config/plugins.js
View file @
9f57794
...
...
@@ -23,23 +23,24 @@ module.exports = ({ env }) => ({
// ...
// Reference: https://www.npmjs.com/package/@strapi/provider-upload-aws-s3
// upload: {
// config: {
// provider: "aws-s3",
// providerOptions: {
// accessKeyId: env("AWS_ACCESS_KEY_ID"),
// secretAccessKey: env("AWS_ACCESS_SECRET"),
// region: env("AWS_REGION"),
// params: {
// Bucket: env("AWS_BUCKET"),
// },
// },
// actionOptions: {
// upload: {},
// uploadStream: {},
// delete: {},
// },
// },
// },
upload
:
{
config
:
{
provider
:
"aws-s3"
,
providerOptions
:
{
accessKeyId
:
env
(
"AWS_ACCESS_KEY_ID"
),
secretAccessKey
:
env
(
"AWS_ACCESS_SECRET"
),
region
:
env
(
"AWS_REGION"
),
params
:
{
Bucket
:
env
(
"AWS_BUCKET"
),
ACL
:
"public-read"
,
},
},
actionOptions
:
{
upload
:
{},
uploadStream
:
{},
delete
:
{},
},
},
},
// ...
});
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment