Use consistent extension icon URLs

Better caching between versions.
This commit is contained in:
arkon 2023-07-16 15:45:49 -04:00
parent 20d7820118
commit 37d231d66a

View File

@ -12,8 +12,7 @@ export default {
return "v" + this.item.version;
},
iconUrl: function () {
const pkgName = this.item.apk.substring(0, this.item.apk.lastIndexOf("."));
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${pkgName}.png`;
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${this.item.pkg}.png`;
},
apkUrl: function () {
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`;