mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Use consistent extension icon URLs
Better caching between versions.
This commit is contained in:
parent
20d7820118
commit
37d231d66a
@ -12,8 +12,7 @@ export default {
|
|||||||
return "v" + this.item.version;
|
return "v" + this.item.version;
|
||||||
},
|
},
|
||||||
iconUrl: function () {
|
iconUrl: function () {
|
||||||
const pkgName = this.item.apk.substring(0, this.item.apk.lastIndexOf("."));
|
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${this.item.pkg}.png`;
|
||||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${pkgName}.png`;
|
|
||||||
},
|
},
|
||||||
apkUrl: function () {
|
apkUrl: function () {
|
||||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`;
|
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user