羊只档案、羊舍管理页面提交

This commit is contained in:
wyt 2025-07-14 16:43:29 +08:00
parent 6ef386ad95
commit 7407f4dafb

View File

@ -1,5 +1,5 @@
import { defineConfig, loadEnv } from 'vite'
import path from 'path' import path from 'path'
import { defineConfig, loadEnv } from 'vite'
import createVitePlugins from './vite/plugins' import createVitePlugins from './vite/plugins'
const baseUrl = 'http://localhost:8080' // 后端接口 const baseUrl = 'http://localhost:8080' // 后端接口
@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => {
}, },
// vite 相关配置 // vite 相关配置
server: { server: {
port: 80, port: 81,
host: true, host: true,
open: true, open: true,
proxy: { proxy: {