UNPKG
ajinkya-mhetre-mern
Version:
latest (1.0.0)
1.0.0
A MERN starter with frontend and backend folders
ajinkya-mhetre-mern
/
backend
/
src
/
config
/
cloudinary.js
11 lines
(8 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// ===== src/config/cloudinary.js =====
const
cloudinary
=
require
(
'cloudinary'
).v2; cloudinary.
config
({
cloud_name
: process.env.CLOUDINARY_CLOUD_NAME,
api_key
:process.env.CLOUDINARY_API_KEY,
api_secret
: process.env.CLOUDINARY_API_SECRET, }); module.exports = cloudinary;