Commit 43202e2b by Harish Patel

Changes

1 parent 5804a0ac
......@@ -4,3 +4,20 @@ APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified
ADMIN_JWT_SECRET=tobemodified
JWT_SECRET=tobemodified
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=offers
DATABASE_USERNAME=harishpatel
DATABASE_PASSWORD=harishpatel
DATABASE_SCHEMA=public
SMTP_HOST=smtp.mailtrap.io
SMTP_PORT=2525
SMTP_USERNAME=2b3a6bda8b6889
SMTP_PASSWORD=521c5fbdaa4326
AWS_ACCESS_KEY_ID=
AWS_ACCESS_SECRET=
AWS_REGION=
AWS_BUCKET=
......@@ -23,23 +23,23 @@ 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"),
},
},
actionOptions: {
upload: {},
uploadStream: {},
delete: {},
},
},
},
// ...
});
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!