5 lines
243 B
JavaScript
5 lines
243 B
JavaScript
const multipart = require('connect-multiparty');
|
|
const { publishing: { uploadDirectory } } = require('../../../config/siteConfig.js');
|
|
const multipartMiddleware = multipart({uploadDir: uploadDirectory});
|
|
|
|
module.exports = multipartMiddleware;
|