Skip to content

Commit 6213ced

Browse files
committed
fixed spelling mistakes in documentation
1 parent 426b0dc commit 6213ced

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LightningTip
22
A simple way to accept tips via the Lightning Network on your website.
33

4-
<img src="https://i.imgur.com/ghPu0SR.gif" width="240">
4+
<img src="https://i.imgur.com/tTQnnoJ.gif" width="240">
55

66
## How to install
77
To get all necessary files for setting up LightningTip you can either [download a prebuilt version](https://github.com/michael1011/lightningtip/releases) or [compile from source](#how-to-install).
@@ -13,10 +13,10 @@ LightningTip is using [LND](https://github.com/lightningnetwork/lnd) as backend.
1313
The default config file location is `lightningTip.conf` in the directory you are executing LightningTip in. The [sample config](https://github.com/michael1011/lightningtip/blob/master/sample-lightningTip.conf) contains everything you need to know about the configuration. To use a custom config file location use the flag `--config filename`.
1414

1515

16-
Embedding LightningTip is also quite easy. Upload all files excluding `lightningTip.html` to your webserver. Copy the contents of the head tag of the before mentioned HTML file into a HTML you want to show LightningTip in. The div below the head tag is LightningTip itself. Paste it into any place in the already edited HTML file on you server.
16+
Embedding LightningTip is also quite easy. Upload all files excluding `lightningTip.html` to your webserver. Copy the contents of the head tag of the before mentioned HTML file into a HTML file you want to show LightningTip in. The div below the head tag is LightningTip itself. Paste it into any place in the already edited HTML file on you server.
1717

1818

19-
If you are not running LightningTip on the same domain or IP address as your werbserver or not on port 8081 change the variable `requestUrl` (which is in the first line) in the file `lightningTip.js` accordingly.
19+
If you are not running LightningTip on the same domain or IP address as your webserver or not on port 8081 change the variable `requestUrl` (which is in the first line) in the file `lightningTip.js` accordingly.
2020

2121

2222
That's it! The only two things you need to take care about is keeping the LND node online and making sure that your channels are funded well enough to receive tips. LightningTip will take care of everything else.
@@ -26,6 +26,7 @@ First of all make sure [Golang](https://golang.org/) and [Dep](https://github.co
2626

2727
```
2828
go get github.com/michael1011/lightningtip.git
29+
cd $GOPATH/src/github.com/michael1011/lightningtip.git
2930
dep ensure
3031
go install
3132
```

frontend/lightningTip.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Edit this variable if you are not running LightningTip on the same domain or IP address as your webserver or not on port 8081
2+
// Don't forget the "/" at the end!
13
var requestUrl = window.location.protocol + "//" + window.location.hostname + ":8081/";
24

35
// To prohibit multiple requests at the same time

0 commit comments

Comments
 (0)