mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-16 22:31:47 +00:00
Merge branch 'master' of https://github.com/advplyr/audiobookshelf into oidc
This commit is contained in:
commit
27f498ffae
5 changed files with 18 additions and 14 deletions
|
|
@ -532,7 +532,7 @@ class Server {
|
|||
var exists = await fs.pathExists(outputDirectory)
|
||||
if (exists) {
|
||||
Logger.error(`[Server] Upload directory "${outputDirectory}" already exists`)
|
||||
return res.status(500).error(`Directory "${outputDirectory}" already exists`)
|
||||
return res.status(500).send(`Directory "${outputDirectory}" already exists`)
|
||||
}
|
||||
|
||||
await fs.ensureDir(outputDirectory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue