aboutsummaryrefslogtreecommitdiffstats
path: root/config/samples
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-06-25 20:29:14 -0700
committerAdam Soltys <[email protected]>2020-06-25 20:29:30 -0700
commit96dff083b35748e65d728c4958d5426e8e13f6c8 (patch)
treecf4fcfdaa4c2a10678812cc3ddff41b0927e8616 /config/samples
parent661eafded5cffe1cc74a907e6cfe629895e35b98 (diff)
downloadcoinos-server-96dff083b35748e65d728c4958d5426e8e13f6c8.tar.gz
coinos-server-96dff083b35748e65d728c4958d5426e8e13f6c8.zip
authorize additional linking keys
Diffstat (limited to 'config/samples')
-rw-r--r--config/samples/index.sample.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/samples/index.sample.js b/config/samples/index.sample.js
index 64070063..eb2976c5 100644
--- a/config/samples/index.sample.js
+++ b/config/samples/index.sample.js
@@ -1,5 +1,11 @@
const dbOptions = require("./config.json")[process.env.NODE_ENV || "development"];
-const lnurl = require("./lnurl");
+let lnurl;
+
+try {
+ lnurl = require("./lnurl");
+} catch(e) {
+ l.warn("lnurl config not found");
+}
module.exports = {
lnurl,