Status page

This commit is contained in:
kexkey
2018-12-15 00:52:24 -05:00
parent 36dfc92985
commit 57f2217abb
17 changed files with 108 additions and 37 deletions

View File

@@ -18,6 +18,7 @@
. ./bitcoin.sh
. ./call_lightningd.sh
. ./ots.sh
. ./statuspage.sh
main()
{
@@ -243,6 +244,12 @@ main()
serve_ots_getfile $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3)
break
;;
status)
# curl (GET) http://192.168.111.152:8080/status
status_page
break
;;
esac
break
fi