feat(frontend): POST for images

This commit is contained in:
h
2026-01-21 10:20:17 +01:00
parent bd361c6e7d
commit 03d56006dc
4 changed files with 107 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
import { ConvexHttpClient } from 'convex/browser';
import { PUBLIC_CONVEX_URL } from '$env/static/public';
import type { Handle } from '@sveltejs/kit';
export const handle: Handle = async ({ event, resolve }) => {
event.locals.convex = new ConvexHttpClient(PUBLIC_CONVEX_URL);
return resolve(event);
};