Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

chore: vite 配置 strictPort

This commit is contained in:
pany 2022-05-06 14:09:14 +08:00
parent a3cac1ff31
commit 6f5b1a1c6a

View File

@ -25,8 +25,8 @@ export default (): UserConfigExport => {
open: false,
/** 跨域设置允许 */
cors: true,
/** 如果端口已占用,直接退出 */
strictPort: true
/** 端口被占用时,是否直接退出 */
strictPort: false
/** 接口代理 */
// proxy: {
// "/mock-api": {