Update ereaders to handle refreshing, epubjs to use custom request method, separate accessToken in store

This commit is contained in:
advplyr
2025-07-10 16:54:28 -05:00
parent 25fe4dee3a
commit d3402e30c2
9 changed files with 67 additions and 46 deletions

View File

@ -23,7 +23,7 @@ class RateLimiterFactory {
windowMs = parseInt(process.env.RATE_LIMIT_AUTH_WINDOW)
}
let max = 20 // 20 attempts default
let max = 40 // 40 attempts default
if (parseInt(process.env.RATE_LIMIT_AUTH_MAX) > 0) {
max = parseInt(process.env.RATE_LIMIT_AUTH_MAX)
}