开启通过ip访问的配置
This commit is contained in:
parent
fece6740a4
commit
ec4170a4f1
@ -21,6 +21,7 @@ export default defineConfig(({ mode, command }) => {
|
||||
// vite 相关配置
|
||||
server: {
|
||||
port: 80,
|
||||
host: true,
|
||||
open: true,
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
|
Loading…
Reference in New Issue
Block a user