update for app.js
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// static/js/config.js – Konfiguration & globale Daten
|
||||
|
||||
let config = {};
|
||||
let globalSounds = [];
|
||||
|
||||
function initConfig() {
|
||||
// Diese Werte werden in control.html per Jinja gesetzt
|
||||
config = window.mkConfig || {};
|
||||
globalSounds = window.mkGlobalSounds || [];
|
||||
|
||||
console.log("config.js → Config geladen:", config);
|
||||
console.log("config.js → Globale Sounds:", globalSounds);
|
||||
}
|
||||
|
||||
// Export (für andere Module)
|
||||
window.initConfig = initConfig;
|
||||
Reference in New Issue
Block a user