Move HTML rendering to btcprice, send raw JSON over both WebSockets

Price and Strike WebSockets now emit JSON instead of HTML fragments.
Added Strike WebSocket endpoint and wired strike/ticker into API routes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 10:18:48 +01:00
co-authored by Claude Opus 4.6
parent c786b01679
commit 3e5fd490b4
3 changed files with 57 additions and 51 deletions
+2 -1
View File
@@ -47,7 +47,8 @@
{:base-path "/api"
:query-fn #ig/ref :db.sql/query-fn
:binance #ig/ref :ws/binance
:frankfurter #ig/ref :frankfurter/rates}
:frankfurter #ig/ref :frankfurter/rates
:strike #ig/ref :strike/ticker}
:ws/binance
{:query-fn #ig/ref :db.sql/query-fn