two/web/core/config.js
GnomeZworc 1b34486053
web: start: clean some code
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-02 23:35:59 +02:00

4 lines
156 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()