fixed some bugs with running the web app from docker

This commit is contained in:
UpstreamData
2022-03-09 10:53:26 -07:00
parent b3103ae700
commit bfc5668d24
8 changed files with 10 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
import asyncio
from tools.web_monitor.miner_factory import miner_factory
from tools.web_monitor.settings.func import get_current_settings
from tools.web_monitor._settings.func import get_current_settings
async def get_miner_data_dashboard(miner_ip):

View File

@@ -5,7 +5,7 @@ import websockets.exceptions
from fastapi import WebSocket, WebSocketDisconnect, APIRouter
from tools.web_monitor.func import get_current_miner_list
from tools.web_monitor.settings.func import get_current_settings
from tools.web_monitor._settings.func import get_current_settings
from tools.web_monitor.dashboard.func import get_miner_data_dashboard