mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-24 13:39:35 +02:00
Added search bar
This commit is contained in:
parent
550e1e155b
commit
8026533a06
18 changed files with 166 additions and 9 deletions
|
@ -1,7 +1,9 @@
|
|||
const fs = require('fs');
|
||||
const { join } = require('path');
|
||||
const multer = require('multer');
|
||||
const uuid = require('uuid');
|
||||
|
||||
if (!fs.existsSync('data/uploads')) {
|
||||
fs.mkdirSync('data/uploads');
|
||||
}
|
||||
|
||||
const storage = multer.diskStorage({
|
||||
destination: (req, file, cb) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue