aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js
index ca33b646..fd365e1a 100644
--- a/index.js
+++ b/index.js
@@ -8,6 +8,7 @@ import { getRates, sendRates } from "$lib/rates";
import { sendHeartbeat } from "$lib/sockets";
import email from "$routes/email";
+import info from "$routes/info";
import locations from "$routes/locations";
import nostr from "$routes/nostr";
import rates from "$routes/rates";
@@ -25,6 +26,7 @@ getRates();
setInterval(sendRates, 1000);
setInterval(sendHeartbeat, 2000);
+app.get("/balances", info.balances);
app.post("/email", email.send);
app.get("/rate", rates.last);