mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-10 04:09:39 +00:00
Add tempFileDir for uploads
This commit is contained in:
parent
2fd3238576
commit
5a01be1ee3
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ class Server {
|
||||||
defCharset: 'utf8',
|
defCharset: 'utf8',
|
||||||
defParamCharset: 'utf8',
|
defParamCharset: 'utf8',
|
||||||
useTempFiles: true,
|
useTempFiles: true,
|
||||||
|
tempFileDir: Path.join(global.MetadataPath, 'tmp')
|
||||||
}))
|
}))
|
||||||
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