From 0648a715607c4cba835c58914d3fd6b586986c1c Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Fri, 20 Mar 2026 13:47:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E9=9D=99=E6=80=81=E6=96=87=E4=BB=B6=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=20build->dist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/main.js b/electron/main.js index 8971822..565d0bf 100644 --- a/electron/main.js +++ b/electron/main.js @@ -352,14 +352,14 @@ async function startServer() { if (isDev) { app.use(express.static(path.join(__dirname, '../dist'))); } else { - app.use(express.static(path.join(__dirname, '../build'))); + app.use(express.static(path.join(__dirname, '../dist'))); } app.use((req, res) => { if (isDev) { res.sendFile(path.join(__dirname, '../dist/index.html')); } else { - res.sendFile(path.join(__dirname, '../build/index.html')); + res.sendFile(path.join(__dirname, '../dist/index.html')); } });