Fix nav spot tickers: register JS in static allowlist and harden price fetch.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-17 11:46:35 +08:00
parent 08029ccb15
commit f03d5d3704
4 changed files with 93 additions and 25 deletions
+1 -1
View File
@@ -1830,7 +1830,7 @@ tickOrderHoldDurations();
setInterval(refreshPriceSnapshotConditional, {{ price_refresh_seconds * 1000 }});
</script>
<script src="/static/options_expiry_countdown.js?v=1"></script>
<script src="/static/nav_spot_tickers.js?v=1"></script>
<script src="/static/nav_spot_tickers.js?v=2"></script>
<script src="/static/instance_dashboard.js?v=5"></script>
<script src="/static/account_ledger.js?v=1"></script>
<script>