From 024cbdd7f661faf5903e207e396ddb611c51ec77 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Fri, 9 Jan 2026 13:33:02 +0100 Subject: [PATCH] fix: Use MC_BRIDGE_URL config instead of non-existent host/port Co-Authored-By: Claude Opus 4.5 --- app/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 030672c..30bd184 100644 --- a/app/main.py +++ b/app/main.py @@ -88,9 +88,8 @@ def handle_send_command(data): # Execute command via bridge HTTP API def execute_and_respond(): try: - bridge_url = f"http://{config.MC_BRIDGE_HOST}:{config.MC_BRIDGE_PORT}/cli" response = requests.post( - bridge_url, + config.MC_BRIDGE_URL, json={'command': command}, timeout=30 )