refactor: 端口从80改为3000,避免有些mac用户开启不了80端口

This commit is contained in:
valarchie 2023-06-20 22:08:05 +08:00
parent 6395a7c8d4
commit 3baa1e9f98
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ npm install
# 启动项目
npm run dev
# 前端访问地址 http://localhost:80
# 前端访问地址 http://localhost:3000
# 构建测试环境 npm run build:stage

View File

@ -26,7 +26,7 @@ export default defineConfig(({ mode, command }) => {
},
// vite 相关配置
server: {
port: 80,
port: 3000,
host: '127.0.0.1',
open: true,
proxy: {