webcompile/src/routes/pubnix/+page.server.ts

15 lines
282 B
TypeScript
Raw Normal View History

2023-01-07 22:59:58 +05:30
import type { PageServerLoad } from "./$types";
2023-02-18 22:12:23 +05:30
import { pubnixUsers } from "../../stores";
import { get } from "svelte/store";
2023-01-07 22:59:58 +05:30
2023-02-18 22:12:23 +05:30
export const load = (async () => {
2023-01-25 22:41:11 +05:30
const meta = {
title: "Pubnix"
2023-02-03 23:25:33 +05:30
};
2023-01-25 22:41:11 +05:30
2023-02-18 22:12:23 +05:30
return {
users: get(pubnixUsers),
...meta
2023-01-07 22:59:58 +05:30
}
2023-02-03 23:25:33 +05:30
}) satisfies PageServerLoad;