mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
new chat with material ui
This commit is contained in:
@@ -19,7 +19,7 @@ const fileStorage = multer.diskStorage({
|
||||
cb(null, "public");
|
||||
},
|
||||
filename: (req, file, cb) => {
|
||||
cb(null, new Date().getTime() + "-" + file.originalname);
|
||||
cb(null, new Date().getTime() + "-" + file.originalname.replace(/\s/g, ""));
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user