开启通过ip访问的配置

This commit is contained in:
fourcows
2021-12-15 22:32:51 +08:00
parent 5c4584bdbb
commit a028061208

View File

@@ -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