mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-05-31 14:12:04 +05:30
10 lines
198 B
TypeScript
10 lines
198 B
TypeScript
import type { PageServerLoad } from "./$types";
|
|
|
|
export const load: PageServerLoad = async ({ fetch }) => {
|
|
return {
|
|
instances: await fetch("/api/status").then(
|
|
(res) => res.json()
|
|
)
|
|
};
|
|
};
|