From 02c13b0794e632049a2feb0ca77e63090ab65819 Mon Sep 17 00:00:00 2001 From: simosmik Date: Sat, 27 Dec 2025 22:48:46 +0000 Subject: [PATCH] fix: fixing the default port for shell on vite config --- src/components/Shell.jsx | 2 -- vite.config.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Shell.jsx b/src/components/Shell.jsx index c095836..9a74436 100644 --- a/src/components/Shell.jsx +++ b/src/components/Shell.jsx @@ -220,7 +220,6 @@ function Shell({ selectedProject, selectedSession, initialCommand, isPlainShell return; } - console.log('[Shell] Terminal initializing, mounting component'); terminal.current = new Terminal({ cursorBlink: true, @@ -346,7 +345,6 @@ function Shell({ selectedProject, selectedSession, initialCommand, isPlainShell } return () => { - console.log('[Shell] Terminal cleanup, unmounting component'); resizeObserver.disconnect(); if (ws.current && (ws.current.readyState === WebSocket.OPEN || ws.current.readyState === WebSocket.CONNECTING)) { diff --git a/vite.config.js b/vite.config.js index f93c7d5..5fad3ad 100755 --- a/vite.config.js +++ b/vite.config.js @@ -17,7 +17,7 @@ export default defineConfig(({ command, mode }) => { ws: true }, '/shell': { - target: `ws://localhost:${env.PORT || 3002}`, + target: `ws://localhost:${env.PORT || 3001}`, ws: true } }