Skip to content

Instantly share code, notes, and snippets.

@malgamves
Created March 3, 2022 18:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malgamves/3e99ede7b808e3c4e0981451f245b173 to your computer and use it in GitHub Desktop.
Save malgamves/3e99ede7b808e3c4e0981451f245b173 to your computer and use it in GitHub Desktop.
Strapi Gatsby Workshop
module.exports = ({ env }) => ({
// ...
upload: {
config: {
provider: 'cloudinary',
providerOptions: {
cloud_name: env('CLOUDINARY_NAME'),
api_key: env('CLOUDINARY_KEY'),
api_secret: env('CLOUDINARY_SECRET'),
},
actionOptions: {
upload: {},
delete: {},
},
},
},
'gatsby-preview': {
enabled: true,
resolve: './src/plugins/gatsby-preview'
},
// ...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment