diff --git a/server.py b/server.py index eb0db2e..c03503c 100644 --- a/server.py +++ b/server.py @@ -420,7 +420,7 @@ def pool_miner(): return jsonify( { "address": address, - "updated_at": datetime.utcnow().isoformat() + "Z", + "updated_at": datetime.now(UTC).isoformat(), "summary": { "matching_workers": len(matching_workers), "hashrate": total_hashrate, @@ -460,4 +460,4 @@ def not_found(e): # endregion if __name__ == "__main__": - app.run(debug=True, port=5000, host="0.0.0.0") + app.run(debug=True, port=5000, host="127.0.0.1") diff --git a/templates/assets/css/index.css b/templates/assets/css/index.css index d391104..49efc7e 100644 --- a/templates/assets/css/index.css +++ b/templates/assets/css/index.css @@ -277,6 +277,16 @@ th { color: var(--muted); } +.txid-link { + color: var(--accent); + text-decoration: none; + font-family: "Courier New", Courier, monospace; + font-size: 12px; +} +.txid-link:hover { + text-decoration: underline; +} + @media (min-width: 920px) { .panel.split { grid-template-columns: 1fr 1fr; diff --git a/templates/index.html b/templates/index.html index 6085f69..e2b20ed 100644 --- a/templates/index.html +++ b/templates/index.html @@ -330,7 +330,7 @@