fix: uses default image in episode results if image is missing, reduces cache life to next hour, clears cache during build

This commit is contained in:
2025-05-09 12:30:56 -05:00
parent 20ade478b1
commit 98bf8d2880
15 changed files with 385 additions and 16 deletions

View File

@@ -47,6 +47,13 @@ export default class extends Controller {
}
}
//
// async clearCache() {
// await fetch(`/torrentio/tvshows/clear/${this.tmdbIdValue}/${this.imdbIdValue}/${this.seasonValue}/${this.episodeValue}`)
// .then(res => res.text())
// .then(response => {});
// }
async setActive() {
this.activeValue = true;
this.element.classList.remove('hidden');