fix: revert dashboard bind to :8888 (external access), keep CLI IPC for control
This commit is contained in:
@@ -74,8 +74,8 @@ func main() {
|
|||||||
// Start Unix socket IPC for CLI commands
|
// Start Unix socket IPC for CLI commands
|
||||||
trader.startIPCServer()
|
trader.startIPCServer()
|
||||||
|
|
||||||
// Initialize dashboard (web server + SSE) — localhost only for security
|
// Initialize dashboard (web server + SSE)
|
||||||
dashboard := NewDashboard(store, trader, database, "127.0.0.1:8888")
|
dashboard := NewDashboard(store, trader, database, ":8888")
|
||||||
go dashboard.Run()
|
go dashboard.Run()
|
||||||
|
|
||||||
// Spread window tracker — measures how long spreads stay above threshold
|
// Spread window tracker — measures how long spreads stay above threshold
|
||||||
|
|||||||
Reference in New Issue
Block a user