mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-26 07:25:58 +00:00
update port
This commit is contained in:
parent
32e472a437
commit
d470f85bd3
2 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ let webViewManager: WebViewManager | null = null;
|
|||
let fileReader: FileReader | null = null;
|
||||
let python_process: ChildProcessWithoutNullStreams | null = null;
|
||||
let backendPort: number = 5001;
|
||||
let browser_port = 9222;
|
||||
let browser_port = 9223;
|
||||
let use_external_cdp = false; // Flag to track if using external CDP browser
|
||||
|
||||
// CDP Browser Pool
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@ export default function Browser() {
|
|||
const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
|
||||
|
||||
// CDP port configuration
|
||||
const [cdpPort, setCdpPort] = useState<number>(9222);
|
||||
const [customPort, setCustomPort] = useState<string>("9222");
|
||||
const [cdpPort, setCdpPort] = useState<number>(9223);
|
||||
const [customPort, setCustomPort] = useState<string>("9223");
|
||||
const [portStatus, setPortStatus] = useState<CdpPortStatus>({
|
||||
checking: false,
|
||||
available: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue