Browse Source

Disable image processing of attachments

pull/4023/head
Andrew Kingston 5 years ago
parent
commit
e76f40548b
  1. 9
      packages/server/src/api/controllers/static/index.js

9
packages/server/src/api/controllers/static/index.js

@ -53,10 +53,11 @@ exports.uploadFile = async function(ctx) {
const processedFileName = `${uuid.v4()}.${fileExtension}`
// need to handle image processing
await fileProcessor.process({
...file,
extension: fileExtension,
})
// TODO either offer this as an option, or don't do it at all
// await fileProcessor.process({
// ...file,
// extension: fileExtension,
// })
return prepareUpload({
file,

Loading…
Cancel
Save