Add games library with IGDB, file explorer and static files script

This commit is contained in:
SirBlob committed 2026-11-03 00:27:20 -05:00
1 parent a16444451a
commit ec57bd73b3
65 files changed
+2230 -352

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { json } from '@sveltejs/kit';
import { listFolder } from '#lib/server/files';
import type { RequestHandler } from './$types';
export const GET: RequestHandler = async ({ url }) => {
return json(await listFolder(url.searchParams.get('path') ?? ''), { headers: { 'Cache-Control': 'no-cache' } });
};