mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-16 01:57:48 +02:00
Fix: useTempFiles=true, upload use tmp instead of ram
This commit is contained in:
@ -150,7 +150,8 @@ class Server {
|
|||||||
router.use(this.auth.cors)
|
router.use(this.auth.cors)
|
||||||
router.use(fileUpload({
|
router.use(fileUpload({
|
||||||
defCharset: 'utf8',
|
defCharset: 'utf8',
|
||||||
defParamCharset: 'utf8'
|
defParamCharset: 'utf8',
|
||||||
|
useTempFiles: true,
|
||||||
}))
|
}))
|
||||||
router.use(express.urlencoded({ extended: true, limit: "5mb" }));
|
router.use(express.urlencoded({ extended: true, limit: "5mb" }));
|
||||||
router.use(express.json({ limit: "5mb" }))
|
router.use(express.json({ limit: "5mb" }))
|
||||||
|
Reference in New Issue
Block a user