mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-07 16:44:16 +01:00
Fix:Cover aspect ratio init #341
This commit is contained in:
parent
316ae4ff79
commit
964cba0491
@ -67,7 +67,7 @@ class ServerSettings {
|
||||
this.loggerDailyLogsToKeep = settings.loggerDailyLogsToKeep || 7
|
||||
this.loggerScannerLogsToKeep = settings.loggerScannerLogsToKeep || 2
|
||||
|
||||
this.coverAspectRatio = settings.coverAspectRatio || BookCoverAspectRatio.SQUARE
|
||||
this.coverAspectRatio = !isNaN(settings.coverAspectRatio) ? settings.coverAspectRatio : BookCoverAspectRatio.SQUARE
|
||||
this.bookshelfView = settings.bookshelfView || BookshelfView.STANDARD
|
||||
|
||||
this.logLevel = settings.logLevel || Logger.logLevel
|
||||
|
Loading…
Reference in New Issue
Block a user