From 37cb0c776f746f11093ef05cd20b5754e0145ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=85=89?= Date: Wed, 6 Aug 2025 15:03:06 +0800 Subject: [PATCH] =?UTF-8?q?fix=20ui:=20=E4=BF=AE=E5=A4=8DDocker=E4=B8=AD?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E9=80=9A=E8=BF=87UI=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用Claude Code修复 --- src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.ts b/src/server.ts index 6d5f68c..bb8db13 100644 --- a/src/server.ts +++ b/src/server.ts @@ -47,7 +47,7 @@ export const createServer = (config: any): Server => { // Restart the service after a short delay to allow response to be sent setTimeout(() => { const { spawn } = require("child_process"); - spawn("ccr", ["restart"], { detached: true, stdio: "ignore" }); + spawn(process.execPath, [process.argv[1], "restart"], { detached: true, stdio: "ignore" }); }, 1000); });