Add tempFileDir for uploads

This commit is contained in:
advplyr 2023-06-06 15:40:52 -05:00
parent 2fd3238576
commit 5a01be1ee3

View File

@ -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" }))