lint and format

This commit is contained in:
0d0 2025-02-14 18:54:18 +01:00
parent 7789c0921c
commit ab13e114be
4 changed files with 7 additions and 5 deletions

View file

@ -19,7 +19,8 @@
body { body {
background: black; /* Fallback */ background: black; /* Fallback */
background-image: radial-gradient(circle, #37ff1456 8%, transparent 8%), background-image:
radial-gradient(circle, #37ff1456 8%, transparent 8%),
radial-gradient(circle, #37ff1456 8%, transparent 8%); radial-gradient(circle, #37ff1456 8%, transparent 8%);
background-size: background-size:
60px 60px, 60px 60px,

View file

@ -43,4 +43,4 @@ export function streamYouTube(link: string, format: string): ReadableStream<Uint
}); });
} }
}); });
} }

View file

@ -148,8 +148,10 @@
This app allows you to download Spotify playlists and YouTube videos directly. Choose your This app allows you to download Spotify playlists and YouTube videos directly. Choose your
source, paste the link, and select a format to start downloading! source, paste the link, and select a format to start downloading!
</p> </p>
<span class="block mt-10"> <span class="mt-10 block">
<a class="underline" href="https://git.pweapon.org/odo/dl.emersa.it">Click here for the source code</a> <a class="underline" href="https://git.pweapon.org/odo/dl.emersa.it"
>Click here for the source code</a
>
</span> </span>
<button <button
onclick={toggleModal} onclick={toggleModal}

View file

@ -1,4 +1,3 @@
import { json, error } from '@sveltejs/kit'; import { json, error } from '@sveltejs/kit';
import type { RequestHandler } from './$types'; import type { RequestHandler } from './$types';
import { getYouTubeMetadata, streamYouTube } from '$lib/server/ytdlp'; import { getYouTubeMetadata, streamYouTube } from '$lib/server/ytdlp';