mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
사소한 리팩토링 2
This commit is contained in:
7
src/routes/(fullscreen)/gallery/+page.server.ts
Normal file
7
src/routes/(fullscreen)/gallery/+page.server.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createCaller } from "$trpc/router.server";
|
||||
import type { PageServerLoad } from "./$types";
|
||||
|
||||
export const load: PageServerLoad = async (event) => {
|
||||
const files = await createCaller(event).file.list();
|
||||
return { files };
|
||||
};
|
||||
Reference in New Issue
Block a user