crud: brand sparepart
This commit is contained in:
8
middleware/imagekit.js
Normal file
8
middleware/imagekit.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const Imagekit = require("imagekit");
|
||||
const { IMAGEKIT_URL_ENDPOINT, IMAGEKIT_PUBLIC_KEY, IMAGEKIT_PRIVATE_KEY } = process.env;
|
||||
|
||||
module.exports = new Imagekit({
|
||||
publicKey: IMAGEKIT_PUBLIC_KEY,
|
||||
privateKey: IMAGEKIT_PRIVATE_KEY,
|
||||
urlEndpoint: IMAGEKIT_URL_ENDPOINT,
|
||||
});
|
||||
Reference in New Issue
Block a user