mirror of
https://github.com/bumi/lntip
synced 2026-02-14 05:07:49 +00:00
Refactor to mimic the lnd rest API a bit
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="http://localhost:1323/static/lntip.js" lntip-host="http://localhost:1323"></script>
|
||||
<script lntip-host="http://localhost:1323" src="http://localhost:1323/static/lntip.js" id="lntip-script"></script>
|
||||
|
||||
<a href="#" onclick="javascript:new LnTip(1000, 'thanks');return false;">Tip me</a>
|
||||
<a href="#" onclick="javascript:new LnTip({ value: 1000, memo: 'thanks' }).request();return false;">Tip me</a>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user