Fix: download cover

This commit is contained in:
advplyr 2021-11-18 18:53:00 -06:00
parent 67886d3bbe
commit 43dc85ad81
4 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "audiobookshelf-client",
"version": "1.6.21",
"version": "1.6.22",
"description": "Audiobook manager and player",
"main": "index.js",
"scripts": {

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
"version": "1.6.12",
"version": "1.6.21",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1222,9 +1222,9 @@
"integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
},
"njodb": {
"version": "0.4.26",
"resolved": "https://registry.npmjs.org/njodb/-/njodb-0.4.26.tgz",
"integrity": "sha512-cUEQzZT/jbwK5tBLZM/A4bCsYIB9oqGwfip79NWMMzUi0RBFVccPYGh9gTf2PhcrTn2y1ftbxlV+J/c4s9RR8g==",
"version": "0.4.27",
"resolved": "https://registry.npmjs.org/njodb/-/njodb-0.4.27.tgz",
"integrity": "sha512-2VWnqv953eQPtly9FDREcikF1sB9mcqAlzcmjHXR0L0my8Xvo4ctMShmwU2W1YpKdtDgFxsqF/S1a4vtv/MzjQ==",
"requires": {
"proper-lockfile": "^4.1.2"
}

View File

@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
"version": "1.6.21",
"version": "1.6.22",
"description": "Self-hosted audiobook server for managing and playing audiobooks",
"main": "index.js",
"scripts": {
@ -38,7 +38,7 @@
"ip": "^1.1.5",
"jsonwebtoken": "^8.5.1",
"libgen": "^2.1.0",
"njodb": "^0.4.26",
"njodb": "^0.4.27",
"node-cron": "^3.0.0",
"node-stream-zip": "^1.15.0",
"podcast": "^1.3.0",

View File

@ -1,5 +1,6 @@
const fs = require('fs-extra')
const rra = require('recursive-readdir-async')
const axios = require('axios')
const Logger = require('../Logger')
async function getFileStat(path) {