mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
13
node_modules/multer/index.js
generated
vendored
13
node_modules/multer/index.js
generated
vendored
@@ -66,6 +66,19 @@ Multer.prototype.fields = function (fields) {
|
||||
return this._makeMiddleware(fields, 'OBJECT')
|
||||
}
|
||||
|
||||
Multer.prototype.any = function () {
|
||||
function setup () {
|
||||
return {
|
||||
limits: this.limits,
|
||||
storage: this.storage,
|
||||
fileFilter: this.fileFilter,
|
||||
fileStrategy: 'ARRAY'
|
||||
}
|
||||
}
|
||||
|
||||
return makeMiddleware(setup.bind(this))
|
||||
}
|
||||
|
||||
function multer (options) {
|
||||
if (options === undefined) {
|
||||
return new Multer({})
|
||||
|
||||
Reference in New Issue
Block a user