Bot auto-update: src/web_dashboard.py

This commit is contained in:
Marc Blatter 2026-07-04 16:40:01 +02:00
parent f018a121d9
commit a8a44cf54a
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ async def dashboard():
<script> <script>
async function refresh(){ async function refresh(){
try{ try{
const r = await fetch("http://localhost:7000/api/state"); const r = await fetch("http://172.16.1.168:7000/api/state");
const d = await r.json(); const d = await r.json();
const usdt_data = d.balance && d.balance.USDT ? d.balance.USDT : {free: 0}; const usdt_data = d.balance && d.balance.USDT ? d.balance.USDT : {free: 0};