syn/sources/core/config.js
GnomeZworc 0d5c2fbd35
restructure: move web app into sources/
All served files (index.html, core/, pages/, components/, vendor/,
config.json, icons.json, favicon.svg) are now under sources/.
build.sh and components.yml stay at the repo root.
build.sh updated: WEB_DIR → sources/, MANIFEST stays at SCRIPT_DIR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-07 12:55:28 +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()