fix: 端口改回 3002

This commit is contained in:
2026-03-13 21:15:26 +08:00
parent 96c709f109
commit 1be470f45b
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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)