From 5a01be1ee31a47be1390f59c9c23bcb1bab3cbcf Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 6 Jun 2023 15:40:52 -0500 Subject: [PATCH] Add tempFileDir for uploads --- server/Server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/Server.js b/server/Server.js index 009c6556..40be406e 100644 --- a/server/Server.js +++ b/server/Server.js @@ -152,6 +152,7 @@ class Server { defCharset: '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" }))