From 4b009124d18caec8601e1697cd203757bdf44005 Mon Sep 17 00:00:00 2001 From: jackyu66git Date: Mon, 4 May 2026 20:36:44 +0800 Subject: [PATCH] fix: revert dashboard bind to :8888 (external access), keep CLI IPC for control --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 0c4e519..8c49cc0 100644 --- a/main.go +++ b/main.go @@ -74,8 +74,8 @@ func main() { // Start Unix socket IPC for CLI commands trader.startIPCServer() - // Initialize dashboard (web server + SSE) — localhost only for security - dashboard := NewDashboard(store, trader, database, "127.0.0.1:8888") + // Initialize dashboard (web server + SSE) + dashboard := NewDashboard(store, trader, database, ":8888") go dashboard.Run() // Spread window tracker — measures how long spreads stay above threshold