From ec4170a4f181e10aee32a69080121d8768567272 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 30 Dec 2021 09:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E9=80=9A=E8=BF=87ip=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 1 + 1 file changed, 1 insertion(+) 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