add: import , repair: change save local storage to imagekit

This commit is contained in:
2025-12-02 10:44:07 +07:00
parent 920b24bfd2
commit 28e99c2a0d
3 changed files with 202 additions and 57 deletions

5
middleware/upload.js Normal file
View File

@@ -0,0 +1,5 @@
const multer = require("multer");
const storage = multer.memoryStorage();
module.exports = multer({ storage });