mirror of
https://github.com/danbulant/Mangades
synced 2026-06-17 05:11:14 +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);
|
||||
$: mangaData = getManga(manga);
|
||||
console.log(mangaData);
|
||||
|
||||
const blocked = ["227e3f72-863f-46f9-bafe-c43104ca29ee"];
|
||||
</script>
|
||||
|
||||
{#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 blocked.includes(manga)}
|
||||
<h1>
|
||||
Content blocked.
|
||||
</h1>
|
||||
|
||||
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).
|
||||
|
||||
I don't host any of the content shown in this page.
|
||||
{: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