mirror of
https://github.com/danbulant/Mangades
synced 2026-06-24 17:11:45 +00:00
hide DMCAd manga
This commit is contained in:
parent
18b48f2b69
commit
2f8043ae88
1 changed files with 21 additions and 9 deletions
|
|
@ -10,14 +10,26 @@
|
||||||
var mangaData = getManga(manga);
|
var mangaData = getManga(manga);
|
||||||
$: mangaData = getManga(manga);
|
$: mangaData = getManga(manga);
|
||||||
console.log(mangaData);
|
console.log(mangaData);
|
||||||
|
|
||||||
|
const blocked = ["227e3f72-863f-46f9-bafe-c43104ca29ee"];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#await mangaData}
|
{#if blocked.includes(manga)}
|
||||||
loading...
|
<h1>
|
||||||
{:then manga}
|
Content blocked.
|
||||||
{#if manga}
|
</h1>
|
||||||
<slot scoped={({ manga: manga.data.attributes, mangaRelationships: manga.relationships, id: manga.data.id })} />
|
|
||||||
{:else}
|
I'm sorry, but I received a DMCA take down for this manga, so just to be safe I disabled it. Content might be available directly on <a href="https://mangadex.org">Mangadex</a> which I'm embedding it from (so in my good faith, I don't think I'm breaking copyright).
|
||||||
Manga not found.
|
|
||||||
{/if}
|
I don't host any of the content shown in this page.
|
||||||
{/await}
|
{:else}
|
||||||
|
{#await mangaData}
|
||||||
|
loading...
|
||||||
|
{:then manga}
|
||||||
|
{#if manga}
|
||||||
|
<slot scoped={({ manga: manga.data.attributes, mangaRelationships: manga.relationships, id: manga.data.id })} />
|
||||||
|
{:else}
|
||||||
|
Manga not found.
|
||||||
|
{/if}
|
||||||
|
{/await}
|
||||||
|
{/if}
|
||||||
Loading…
Reference in a new issue