mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix: useTempFiles=true, upload use tmp instead of ram
This commit is contained in:
		
							parent
							
								
									c1bcfe8304
								
							
						
					
					
						commit
						2fd3238576
					
				@ -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…
	
		Reference in New Issue
	
	Block a user