Rewrite website as a Hyprland desktop

This commit is contained in:
SirBlob committed 2026-10-26 14:33:05 -04:00
1 parent 7c52779cf6
commit 3065ad6092
197 files changed
+5609 -17779

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { json } from '@sveltejs/kit';
import { getDiscordPresence } from '#lib/server/discord';
import type { RequestHandler } from './$types';
export const GET: RequestHandler = async () => {
const presence = await getDiscordPresence();
return json(presence, { headers: { 'Cache-Control': 'public, max-age=15' } });
};