diff --git a/server/Server.js b/server/Server.js index 5c6278cb..40be406e 100644 --- a/server/Server.js +++ b/server/Server.js @@ -150,7 +150,9 @@ class Server { router.use(this.auth.cors) router.use(fileUpload({ defCharset: 'utf8', - defParamCharset: 'utf8' + defParamCharset: 'utf8', + useTempFiles: true, + tempFileDir: Path.join(global.MetadataPath, 'tmp') })) router.use(express.urlencoded({ extended: true, limit: "5mb" })); router.use(express.json({ limit: "5mb" }))