mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
갤러리 페이지 구현
This commit is contained in:
7
src/routes/(fullscreen)/gallery/+page.ts
Normal file
7
src/routes/(fullscreen)/gallery/+page.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { trpc } from "$trpc/client";
|
||||
import type { PageLoad } from "./$types";
|
||||
|
||||
export const load: PageLoad = async ({ fetch }) => {
|
||||
const files = await trpc(fetch).file.list.query();
|
||||
return { files };
|
||||
};
|
||||
Reference in New Issue
Block a user