mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-08-19 23:25:50 +00:00
fix: Failed making request to anilist! Try again in a minute. 404-not found #453
This commit is contained in:
parent
33f9124cc9
commit
a8cd6201ce
3 changed files with 3 additions and 3 deletions
|
|
@ -60,7 +60,7 @@
|
|||
<div class='material-symbols-outlined filled position-absolute z-10 top-0 right-0 p-15 font-size-22' class:d-none={hide} use:click={toggleMute}>{muted ? 'volume_off' : 'volume_up'}</div>
|
||||
<!-- for now we use some invidious instance, would be nice to somehow get these links outselves, this redirects straight to some google endpoint -->
|
||||
<!-- eslint-disable-next-line svelte/valid-compile -->
|
||||
<video src={`https://yewtu.be/latest_version?id=${media.trailer.id}&itag=18`}
|
||||
<video src={`https://inv.tux.pizza/latest_version?id=${media.trailer.id}&itag=18`}
|
||||
class='w-full h-full position-absolute left-0'
|
||||
class:d-none={hide}
|
||||
playsinline
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ class AnilistClient {
|
|||
} catch (error) {
|
||||
if (res.ok) printError(error)
|
||||
}
|
||||
if (!res.ok) {
|
||||
if (!res.ok && res.status !== 404) {
|
||||
if (json) {
|
||||
for (const error of json?.errors || []) {
|
||||
printError(error)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<div class='material-symbols-outlined filled position-absolute z-10 top-0 right-0 p-15 font-size-22' class:d-none={hide} use:click={toggleMute}>{muted ? 'volume_off' : 'volume_up'}</div>
|
||||
<!-- for now we use some invidious instance, would be nice to somehow get these links outselves, this redirects straight to some google endpoint -->
|
||||
<!-- eslint-disable-next-line svelte/valid-compile -->
|
||||
<video data-src={`https://yewtu.be/latest_version?id=${media.trailer.id}&itag=18`}
|
||||
<video data-src={`https://inv.tux.pizza/latest_version?id=${media.trailer.id}&itag=18`}
|
||||
class='w-full h-full position-absolute left-0'
|
||||
class:d-none={hide}
|
||||
playsinline
|
||||
|
|
|
|||
Loading…
Reference in a new issue