commit e743c1318ea4129ca066859f5fbb87fd9cc5e99c
parent f0d0ce325fa9630ab5a84de2dc453cbb2797c26e
Author: rob <rob@tarina.org>
Date: Tue, 10 Jan 2023 21:41:53 +0200
righton
Diffstat:
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/public_html/templates/index.html b/public_html/templates/index.html
@@ -59,7 +59,7 @@ $for i in products:
<img class="logo" src="/static/bitcoin.png">
<br>
<h2>$getrate()€/₿</h2>
-<small>powered by <a href="https://github.com/ElementsProject/lightning">c-lightning</a>, <a href="https://github.com/Ride-The-Lightning/c-lightning-REST">c-lightning-REST</a> and <a href="https://webpy.org">web.py </a></small>
+<small>powered by <a href="https://github.com/ElementsProject/lightning">CLN</a>, <a href="https://dev.tarina.org/p/thiswebshoprules/">thiswebshoprules</a> and <a href="https://webpy.org">web.py </a></small>
<br>
<br>
<br>
diff --git a/server.py b/server.py
@@ -45,13 +45,6 @@ urls = (
'/config', 'config',
'/payments?', 'payments')
-allowed = (("rbckman", "secret"),
- ("brkhelle", "topsecret"))
-
-productsbad = (("Tarina Shop", 420.00),
- ("Tarina Shop Viewfinder", 80.00),
- ("Picamera", 30.00),
- ("Donation", 0.005))
bag = ''
@@ -61,7 +54,7 @@ rtl = settings.rtl
rpcauth = settings.rpcauth
webmaster = settings.webmaster
baseurl = settings.baseurl
-
+allowed = settings.allowed
basedir = os.path.dirname(os.path.realpath(__file__))+'/'
templatedir = basedir + 'public_html/templates/'