From 4b399f90bff1888d76241874f4d36ad034e7aee3 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Wed, 6 Aug 2025 11:08:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E6=9C=8D=E5=8A=A1=E5=99=A8=E7=AB=AF=E5=8F=A3=E4=B8=BA?= =?UTF-8?q?=2081?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 Vite 配置中的 server.port 选项从 80 修改为 81 - 这个修改是为了避开 80端口的冲突问题 --- ruoyi-ui3/vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui3/vite.config.js b/ruoyi-ui3/vite.config.js index 0f18347..c466c9a 100644 --- a/ruoyi-ui3/vite.config.js +++ b/ruoyi-ui3/vite.config.js @@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => { }, // vite 相关配置 server: { - port: 80, + port: 81, host: true, open: true, // 如果端口占用自动切换端口