Fixed API path

This commit is contained in:
SChernykh 2023-04-14 12:41:34 +02:00
parent 6ef166ba33
commit 80352f6b30

View file

@ -58,7 +58,7 @@ def render():
pool_stats = json.loads(reader.read()) pool_stats = json.loads(reader.read())
with open("/data/network/stats", "r") as reader: with open("/data/network/stats", "r") as reader:
network_stats = json.loads(reader.read()) network_stats = json.loads(reader.read())
with open("/data/local/stats", "r") as reader: with open("/data/local/stratum", "r") as reader:
local_stats = json.loads(reader.read()) local_stats = json.loads(reader.read())
return render_template( return render_template(
"index.html", "index.html",