two/web/core/config.js
GnomeZworc 38939a0579
web: start: clean some code
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-14 23:08:38 +02:00

4 lines
155 B
JavaScript

const response = await fetch('./config.json')
if (!response.ok) throw new Error('Failed to load config.json')
export const config = await response.json()