From 1be470f45bdcb7d5063fb09d965c41575eea8f0c Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Fri, 13 Mar 2026 21:15:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AB=AF=E5=8F=A3=E6=94=B9=E5=9B=9E=203?= =?UTF-8?q?002?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/services/xcOpenCodeWebService.ts | 2 +- src/modules/opencode/OpenCodePage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/services/xcOpenCodeWebService.ts b/electron/services/xcOpenCodeWebService.ts index 96ce5d1..21fc6c8 100644 --- a/electron/services/xcOpenCodeWebService.ts +++ b/electron/services/xcOpenCodeWebService.ts @@ -3,7 +3,7 @@ import { app } from 'electron'; import path from 'path'; import log from 'electron-log'; -const XCOPENCODEWEB_PORT = 3000; +const XCOPENCODEWEB_PORT = 3002; const HEALTH_CHECK_INTERVAL = 10000; const HEALTH_CHECK_TIMEOUT = 2000; diff --git a/src/modules/opencode/OpenCodePage.tsx b/src/modules/opencode/OpenCodePage.tsx index d75fbf7..4bf330a 100644 --- a/src/modules/opencode/OpenCodePage.tsx +++ b/src/modules/opencode/OpenCodePage.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react' -const XCOPENCODEWEB_PORT = 3000 +const XCOPENCODEWEB_PORT = 3002 export const OpenCodePage: React.FC = () => { const [isRunning, setIsRunning] = useState(false)