(add): Baskets function

This commit is contained in:
2026-06-25 17:31:56 -04:00
parent e5b6fbd7c5
commit 9d6473d4bf
33 changed files with 987 additions and 463 deletions
+5 -5
View File
@@ -1,10 +1,10 @@
import { getSettings } from '$lib/server/settings';
export const load = async ({ fetch }) => {
const settings = getSettings();
const res = await fetch('/api');
const data = await res.json();
const resPrefixes = await fetch('/api/prefixes');
const dataPrefixes = await resPrefixes.json();
const settings = getSettings();
const res = await fetch('/api');
const data = await res.json();
const resPrefixes = await fetch('/api/prefixes');
const dataPrefixes = await resPrefixes.json();
return { ...data, venueName: settings.venue_name, prefixes: dataPrefixes };
};