aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-07 15:03:40 -0700
committerAdam Soltys <[email protected]>2022-09-07 15:03:40 -0700
commit5afcf12b214a3c81f00cfc03f892e299fceeac71 (patch)
tree7e0a428949573896ea58e8595e67dcc644e49dbe /index.js
parent3e11c9e4aa3618e58af413c98d6992ae18d444f7 (diff)
downloadcoinos-server-5afcf12b214a3c81f00cfc03f892e299fceeac71.tar.gz
coinos-server-5afcf12b214a3c81f00cfc03f892e299fceeac71.zip
es6 migration
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 8262967d..5a7a44bc 100644
--- a/index.js
+++ b/index.js
@@ -19,11 +19,11 @@ import "./routes/info";
import "./routes/users";
import "./routes/invoices";
import "./routes/payments";
+import "./routes/lnurl";
if (config.bitcoin) store.networks.push("bitcoin");
if (config.liquid) store.networks.push("liquid");
if (config.lna) store.networks.push("lightning");
-if (config.lnurl) import("./routes/lnurl");
let host = process.env.HOST || "0.0.0.0";
let port = process.env.PORT || 3119;