mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-18 09:54:44 +02:00
Fix: useTempFiles=true, upload use tmp instead of ram
This commit is contained in:
parent
c1bcfe8304
commit
2fd3238576
1 changed files with 2 additions and 1 deletions
|
@ -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" }))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue