mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-07 17:22:57 +02:00
fix: Proxy console WebSocket through main app for HTTPS compatibility
Browser blocks mixed content (HTTPS page -> HTTP WebSocket on port 5001). Solution: Route WebSocket through main Flask app which goes through existing HTTPS reverse proxy. - Add Flask-SocketIO to main mc-webui app - WebSocket handler proxies commands to bridge via HTTP - Remove port 5001 external exposure (no longer needed) - Remove duplicate title from console header Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,8 +8,6 @@ services:
|
||||
restart: unless-stopped
|
||||
devices:
|
||||
- "${MC_SERIAL_PORT}:${MC_SERIAL_PORT}"
|
||||
ports:
|
||||
- "5001:5001" # Expose for WebSocket console access
|
||||
volumes:
|
||||
- "${MC_CONFIG_DIR}:/root/.config/meshcore:rw"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user