added debug for loading config problems
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user