Files
api.pawol.nu/config/plugins.js
T

39 lines
767 B
JavaScript
Raw Normal View History

2021-03-21 12:57:45 +01:00
module.exports = ({env}) => ({
email: {
2022-05-14 19:47:41 +04:00
config: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'smtp.example.com'),
port: env('SMTP_PORT', 587),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
}
2021-03-21 12:57:45 +01:00
}
},
settings: {
defaultFrom: env('SMTP_FROM'),
defaultReplyTo: env('SMTP_REPLY_TO'),
},
},
2022-05-20 15:37:07 +04:00
'rest-cache': {
config: {
provider: {
name: 'memory',
options: {
max: 32767,
maxAge: 3600
}
},
strategy: {
contentTypes: [
'api::artiste.artiste',
'api::parole.parole'
],
debug: true,
hitpass: false
}
}
},
2021-03-21 12:57:45 +01:00
})