Bot auto-update: src/web_dashboard.py
This commit is contained in:
parent
f018a121d9
commit
a8a44cf54a
|
|
@ -56,7 +56,7 @@ async def dashboard():
|
|||
<script>
|
||||
async function refresh(){
|
||||
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 usdt_data = d.balance && d.balance.USDT ? d.balance.USDT : {free: 0};
|
||||
|
|
|
|||
Loading…
Reference in New Issue