fix(hub): remove trade UI stubs, public ping, multipart dep
This commit is contained in:
@@ -39,6 +39,7 @@ HUB_BRIDGE_TOKEN = (os.getenv("HUB_BRIDGE_TOKEN") or os.getenv("CONTROL_TOKEN")
|
||||
_trust_raw = (os.getenv("HUB_TRUST_LAN", "true") or "").strip().lower()
|
||||
HUB_TRUST_LAN = _trust_raw not in ("0", "false", "no", "off")
|
||||
DIR = Path(__file__).resolve().parent
|
||||
HUB_BUILD = "20260521-no-trade-ui"
|
||||
|
||||
|
||||
def _is_local(host: str | None) -> bool:
|
||||
@@ -431,8 +432,10 @@ def api_ping():
|
||||
return {
|
||||
"ok": True,
|
||||
"service": "manual-trading-hub",
|
||||
"build": HUB_BUILD,
|
||||
"trade_ui": False,
|
||||
"features": ["monitor", "settings", "auth"],
|
||||
"password_required": password_required(),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user