This commit is contained in:
yeyang
2023-02-02 18:47:01 +08:00
parent e317fd82cb
commit 8305cad326

View File

@@ -21,7 +21,7 @@ export default new (class {
if (!await redis.get('yenai:bika:directConnection')) {
this.imgproxy = 'https://p.sesepic.top/static/'
} else {
this.imgproxy = false
this.imgproxy = undefined
}
this.imageQuality = await redis.get('yenai:bika:imageQuality') ?? 'medium'
}