aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.js b/index.js
index 4a8fb01a..ec0e4244 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,7 @@
import app from "$app";
import { auth, optional } from "$lib/auth";
+
+import { listenForLightning } from "$lib/lightning";
import { getLocations } from "$lib/locations";
import { getRates, sendRates } from "$lib/rates";
import { sendHeartbeat } from "$lib/sockets";
@@ -13,6 +15,8 @@ import users from "$routes/users";
import payments from "$routes/payments";
import requests from "$routes/requests";
+listenForLightning();
+
getLocations();
getRates();