Merge branch 'caching' of https://github.com/mikiher/audiobookshelf into caching

This commit is contained in:
mikiher 2023-11-22 19:10:29 +02:00
commit d944ecaa21

View File

@ -34,12 +34,13 @@ const RssFeedManager = require('./managers/RssFeedManager')
const CronManager = require('./managers/CronManager')
const ApiCacheManager = require('./managers/ApiCacheManager')
const LibraryScanner = require('./scanner/LibraryScanner')
const { measureMiddleware } = require('./utils/timing')
//Import the main Passport and Express-Session library
const passport = require('passport')
const expressSession = require('express-session')
const { measureMiddleware } = require('./utils/timing')
class Server {
constructor(SOURCE, PORT, HOST, UID, GID, CONFIG_PATH, METADATA_PATH, ROUTER_BASE_PATH) {
@ -185,7 +186,6 @@ class Server {
this.server = http.createServer(app)
router.use(measureMiddleware)
router.use(fileUpload({
defCharset: 'utf8',
defParamCharset: 'utf8',