diff options
| author | Adam Soltys <[email protected]> | 2020-06-25 20:29:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-06-25 20:29:30 -0700 |
| commit | 96dff083b35748e65d728c4958d5426e8e13f6c8 (patch) | |
| tree | cf4fcfdaa4c2a10678812cc3ddff41b0927e8616 /config | |
| parent | 661eafded5cffe1cc74a907e6cfe629895e35b98 (diff) | |
| download | coinos-server-96dff083b35748e65d728c4958d5426e8e13f6c8.tar.gz coinos-server-96dff083b35748e65d728c4958d5426e8e13f6c8.zip | |
authorize additional linking keys
Diffstat (limited to 'config')
| -rw-r--r-- | config/samples/index.sample.js | 8 |
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, |
