mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-05-31 14:12:04 +05:30
15 lines
283 B
TypeScript
15 lines
283 B
TypeScript
import type { PageServerLoad } from "./$types";
|
|
import { pubnixUsers } from "../../stores";
|
|
import { get } from "svelte/store";
|
|
|
|
export const load = (async () => {
|
|
const meta = {
|
|
title: "Pubnix"
|
|
};
|
|
|
|
return {
|
|
users: get(pubnixUsers),
|
|
...meta
|
|
};
|
|
}) satisfies PageServerLoad;
|