refactor: 修改开发服务器端口为 81
- 将 Vite 配置中的 server.port 选项从 80 修改为 81 - 这个修改是为了避开 80端口的冲突问题
This commit is contained in:
@@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => {
|
||||
},
|
||||
// vite 相关配置
|
||||
server: {
|
||||
port: 80,
|
||||
port: 81,
|
||||
host: true,
|
||||
open: true,
|
||||
// 如果端口占用自动切换端口
|
||||
|
||||
Reference in New Issue
Block a user