From 96dff083b35748e65d728c4958d5426e8e13f6c8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 25 Jun 2020 20:29:14 -0700 Subject: authorize additional linking keys --- config/samples/index.sample.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config/samples/index.sample.js') 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, -- cgit v1.2.3