two/web/core/config.js
GnomeZworc 7b587f852e
web: start: clean some code
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-02 23:37:26 +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()