1
1
mirror of https://github.com/bumi/lntip synced 2026-02-16 22:17:50 +00:00

Simplify configuration and remove nesting

We do not have that many config options. Nesting is not needed right now
and makes it only more complicated
This commit is contained in:
2020-10-25 22:48:00 +01:00
parent 77a96bdd83
commit 1e40a617f9
3 changed files with 59 additions and 36 deletions

View File

@@ -1,12 +1,11 @@
disable_website = false
disable_cors = false
request_limit = 5
disable-website = false
disable-cors = false
request-limit = 5
port = "1323"
static_path = "" # Blank means disabled
static-path = "" # Blank means disabled
[lnd]
address = "127.0.0.1:10009"
cert = "TLS cert as hex"
cert_path = "Alternative to cert. Path to TLS cert file"
macaroon = "Macaroon as hex"
macaroon_path = "Alternative to macaroon. Path to macaroon file"
lnd-address = "127.0.0.1:10009"
lnd-cert = "TLS cert as hex"
lnd-cert-path = "Alternative to cert. Path to TLS cert file"
lnd-macaroon = "Macaroon as hex"
lnd-macaroon-path = "Alternative to macaroon. Path to macaroon file"