mirror of https://github.com/bumi/lntip
Compare commits
5 Commits
1e40a617f9
...
8ff67efa8b
Author | SHA1 | Date |
---|---|---|
bumi | 8ff67efa8b | |
bumi | f79fb1747f | |
bumi | 89ecea4d4a | |
bumi | 9c78c91ab5 | |
Carlos Garcia Ortiz karliatto | e7acaf7821 |
|
@ -46,7 +46,7 @@ To connect to the lnd node the cert, macaroon and address of the lnd node has to
|
|||
Instead of the path to the macaroon and cert files you can also provide the hex strings:
|
||||
|
||||
* `lnd-cert`: LND TLS cert as HEX string.
|
||||
* `lnd-macaroon`: LND macaroon file. (invoice.macaroon is recommended)
|
||||
* `lnd-macaroon`: LND macaroon HEX string. (invoice.macaroon is recommended)
|
||||
|
||||
#### Other configuration
|
||||
|
||||
|
|
|
@ -210,6 +210,11 @@ class LnMe {
|
|||
shouldSetHash: false
|
||||
});
|
||||
this.target = document.querySelector('.jPopup .content').firstElementChild;
|
||||
|
||||
// When popup is closed, we stop watching the payment.
|
||||
document.querySelector('.jCloseBtn').addEventListener('click', (e) => {
|
||||
this.stopWatchingPayment();
|
||||
});
|
||||
}
|
||||
|
||||
thanks() {
|
||||
|
|
6
lnme.go
6
lnme.go
|
@ -141,7 +141,11 @@ func main() {
|
|||
return c.JSON(http.StatusOK, "pong")
|
||||
})
|
||||
|
||||
e.Logger.Fatal(e.Start(":" + cfg.String("port")))
|
||||
port := cfg.String("port")
|
||||
if os.Getenv("PORT") != "" {
|
||||
port = os.Getenv("PORT")
|
||||
}
|
||||
e.Logger.Fatal(e.Start(":" + port))
|
||||
}
|
||||
|
||||
func LoadConfig() *koanf.Koanf {
|
||||
|
|
58
rice-box.go
58
rice-box.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue