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:
parent
a3cac1ff31
commit
6f5b1a1c6a
@ -25,8 +25,8 @@ export default (): UserConfigExport => {
|
||||
open: false,
|
||||
/** 跨域设置允许 */
|
||||
cors: true,
|
||||
/** 如果端口已占用,直接退出 */
|
||||
strictPort: true
|
||||
/** 端口被占用时,是否直接退出 */
|
||||
strictPort: false
|
||||
/** 接口代理 */
|
||||
// proxy: {
|
||||
// "/mock-api": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user