Skip to content

Commit 93c9bb3

Browse files
committed
PageServerLoad
1 parent b33abb4 commit 93c9bb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/+page.server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { PageLoad } from "./$types";
2-
export const load: PageLoad = async () => {
1+
import type { PageServerLoad } from "./$types";
2+
export const load: PageServerLoad = async () => {
33
const r1 = fetch("https://api.github.com/repos/KTibow/m3-svelte");
44
const r2 = fetch("https://discord.com/api/v10/invites/sRzVYM9b47?with_counts=true");
55
const { stargazers_count } = await (await r1).json();

0 commit comments

Comments
 (0)