text: var cloudinary = require('cloudinary').v2
  const { CloudinaryStorage } = require('multer-storage-cloudinary');
  const multer = require('multer');
  
  cloudinary.config({
      cloud_name: process.env.DB_CLOUD_NAME,
      api_key: process.env.DB_KEY,
      api_secret: process.env.DB_SECRET
  });
  
  const storage = new CloudinaryStorage({
      cloudinary: cloudinary,
      params: {
          folder: 'YelpCamp',
          allowedFormats: ['jpeg', 'png', 'jpg']
      }
  });
  
  module.exports = {
      cloudinary, storage
  }
  