diff --git a/vite.config.js b/vite.config.js index 2d1cddc..95648c4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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