JS: Fix API and new cleanup (memory) table row function and small fixes.

This commit is contained in:
gerlofvanek
2025-01-09 17:37:01 +01:00
parent 21c828051c
commit 2002fcb31b
3 changed files with 132 additions and 90 deletions

View File

@@ -11,15 +11,15 @@
<script>
function getAPIKeys() {
return {
cryptoCompare: '{{chart_api_key}}',
coinGecko: '{{coingecko_api_key}}'
cryptoCompare: "{{ chart_api_key|safe }}",
coinGecko: "{{ coingecko_api_key|safe }}"
};
}
function getWebSocketConfig() {
return {
port: '{{ ws_port }}',
fallbackPort: '11700'
port: "{{ ws_port|safe }}",
fallbackPort: "11700"
};
}
</script>