diff --git a/.gitignore b/.gitignore index c7558bf..8de765c 100644 --- a/.gitignore +++ b/.gitignore @@ -115,5 +115,3 @@ build package-lock.json -/config/database.js -plugins.js diff --git a/config/plugins.js b/config/plugins.js new file mode 100644 index 0000000..ce6c101 --- /dev/null +++ b/config/plugins.js @@ -0,0 +1,10 @@ +module.exports = ({ env }) => ({ + upload: { + provider: 'cloudinary', + providerOptions: { + cloud_name: env('CLOUDINARY_NAME'), + api_key: env('CLOUDINARY_KEY'), + api_secret: env('CLOUDINARY_SECRET'), + }, + }, +});