added debug for loading config problems

This commit is contained in:
2026-02-11 21:28:41 +01:00
parent af4355a83f
commit cdf5f7a356
3 changed files with 63 additions and 7 deletions
+10
View File
@@ -69,9 +69,19 @@
{% endblock %}
<!--
{% block scripts %}
<script>
// Config direkt ins JS übergeben
const config = {{ config | tojson | safe }};
</script>
{% endblock %}
-->
{% block scripts %}
<script>
const config = {{ config | tojson | safe }};
console.log("Config im JS:", config);
console.log("Channels:", config?.channels || "KEINE CHANNELS");
</script>
{% endblock %}