fix: 端口改回 3002
This commit is contained in:
@@ -3,7 +3,7 @@ import { app } from 'electron';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import log from 'electron-log';
|
import log from 'electron-log';
|
||||||
|
|
||||||
const XCOPENCODEWEB_PORT = 3000;
|
const XCOPENCODEWEB_PORT = 3002;
|
||||||
const HEALTH_CHECK_INTERVAL = 10000;
|
const HEALTH_CHECK_INTERVAL = 10000;
|
||||||
const HEALTH_CHECK_TIMEOUT = 2000;
|
const HEALTH_CHECK_TIMEOUT = 2000;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from 'react'
|
import React, { useEffect, useState } from 'react'
|
||||||
|
|
||||||
const XCOPENCODEWEB_PORT = 3000
|
const XCOPENCODEWEB_PORT = 3002
|
||||||
|
|
||||||
export const OpenCodePage: React.FC = () => {
|
export const OpenCodePage: React.FC = () => {
|
||||||
const [isRunning, setIsRunning] = useState(false)
|
const [isRunning, setIsRunning] = useState(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user