SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d257e535c8af6236918eb5ff11ba264fa62c53bc
parent 2f93dccb3e7f97f2943a7bbb2fdd16b1b1a6ec49
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Sun, 27 Dec 2020 15:05:12 +1100

Add favicon and delay repeated connections to bitcoind

Diffstat:
Mpay/bitcoind.py | 1+
Astatic/favicon.ico | 0
Mtemplates/index.html | 4+++-
3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/pay/bitcoind.py b/pay/bitcoind.py @@ -22,6 +22,7 @@ class btcd(invoice): except Exception as e: print(e) + time.sleep(config.pollrate) print("Attempting again... {}/{}...".format(i+1, config.connection_attempts)) else: raise Exception("Could not connect to bitcoind. Check your RPC / port tunneling settings and try again.") diff --git a/static/favicon.ico b/static/favicon.ico Binary files differ. diff --git a/templates/index.html b/templates/index.html @@ -1,7 +1,9 @@ <!DOCTYPE HTML> <html> <head> - <title>BTCPyServer</title> + <title>BTCPyment</title> + <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> + <script src="//code.jquery.com/jquery-1.12.4.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/3.0.4/socket.io.js"></script> <script src="{{ url_for('static', filename='server_connection.js') }}"></script>