mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
chore: Amazon SES readme plugin config improvements (#23390)
This commit is contained in:
parent
fb92031f3d
commit
253ca3ab29
@ -46,7 +46,7 @@ module.exports = ({ env }) => ({
|
||||
providerOptions: {
|
||||
key: env('AWS_SES_KEY'),
|
||||
secret: env('AWS_SES_SECRET'),
|
||||
amazon: 'https://email.us-east-1.amazonaws.com',
|
||||
amazon: `https://email.${env('AWS_SES_REGION', 'us-east-1')}.amazonaws.com`, // https://docs.aws.amazon.com/general/latest/gr/ses.html
|
||||
},
|
||||
settings: {
|
||||
defaultFrom: 'myemail@protonmail.com',
|
||||
@ -57,3 +57,11 @@ module.exports = ({ env }) => ({
|
||||
// ...
|
||||
});
|
||||
```
|
||||
|
||||
**Path -** `.env`
|
||||
|
||||
```env
|
||||
AWS_SES_KEY=
|
||||
AWS_SES_SECRET=
|
||||
AWS_SES_REGION=
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user