diff --git a/src/routes/api/fetchtag/+server.ts b/src/routes/api/fetchtag/+server.ts index 7b85843..9089ce7 100644 --- a/src/routes/api/fetchtag/+server.ts +++ b/src/routes/api/fetchtag/+server.ts @@ -20,7 +20,9 @@ async function fetchLatestReleaseTag() { return null; } } + export const load = (async () => { let latestReleaseTag = await fetchLatestReleaseTag(); + console.log(latestReleaseTag) return latestReleaseTag //? { body: latestReleaseTag } : { status: 404 }; }) \ No newline at end of file diff --git a/src/routes/download/+page.svelte b/src/routes/download/+page.svelte index 51bd303..f4426a5 100644 --- a/src/routes/download/+page.svelte +++ b/src/routes/download/+page.svelte @@ -1,22 +1,49 @@ - + Downloading Suyu @@ -42,8 +69,36 @@ stroke="white" /> -

Downloading Suyu..

+ + +

+ Downloading Suyu... +

+ + + +

- Your download should start shortly. If it doesn't, click here. + Your download should start shortly. If it doesn't, click here.