调整,支持外部访问。
This commit is contained in:
@@ -12,7 +12,7 @@ from db.stats_db import StatsDBOperator
|
||||
class DashboardServer:
|
||||
"""统计看板服务器"""
|
||||
|
||||
def __init__(self, host: str = "127.0.0.1", port: int = 8080,
|
||||
def __init__(self, host: str = "0.0.0.0", port: int = 8888,
|
||||
username: str = "admin", password: str = "admin123"):
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
||||
Reference in New Issue
Block a user