From 3baa1e9f98fe427acebe933777cf08aef211304b Mon Sep 17 00:00:00 2001 From: valarchie <343928303@qq.com> Date: Tue, 20 Jun 2023 22:08:05 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=AB=AF=E5=8F=A3=E4=BB=8E80?= =?UTF-8?q?=E6=94=B9=E4=B8=BA3000,=E9=81=BF=E5=85=8D=E6=9C=89=E4=BA=9Bmac?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=BC=80=E5=90=AF=E4=B8=8D=E4=BA=8680?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- vite.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 94f16a7..731c741 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ npm install # 启动项目 npm run dev -# 前端访问地址 http://localhost:80 +# 前端访问地址 http://localhost:3000 # 构建测试环境 npm run build:stage diff --git a/vite.config.js b/vite.config.js index d21bb5c..2cf3c7e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -26,7 +26,7 @@ export default defineConfig(({ mode, command }) => { }, // vite 相关配置 server: { - port: 80, + port: 3000, host: '127.0.0.1', open: true, proxy: {