refactor: 端口从80改为3000,避免有些mac用户开启不了80端口
This commit is contained in:
parent
6395a7c8d4
commit
3baa1e9f98
@ -43,7 +43,7 @@ npm install
|
||||
# 启动项目
|
||||
npm run dev
|
||||
|
||||
# 前端访问地址 http://localhost:80
|
||||
# 前端访问地址 http://localhost:3000
|
||||
|
||||
|
||||
# 构建测试环境 npm run build:stage
|
||||
|
||||
@ -26,7 +26,7 @@ export default defineConfig(({ mode, command }) => {
|
||||
},
|
||||
// vite 相关配置
|
||||
server: {
|
||||
port: 80,
|
||||
port: 3000,
|
||||
host: '127.0.0.1',
|
||||
open: true,
|
||||
proxy: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user