From 7407f4dafbcb4f1454a4201d7b25a672edeb7af9 Mon Sep 17 00:00:00 2001 From: wyt <414651037@qq.com> Date: Mon, 14 Jul 2025 16:43:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8A=E5=8F=AA=E6=A1=A3=E6=A1=88=E3=80=81?= =?UTF-8?q?=E7=BE=8A=E8=88=8D=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index d3d9b6d..2eb2f15 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,5 +1,5 @@ -import { defineConfig, loadEnv } from 'vite' import path from 'path' +import { defineConfig, loadEnv } from 'vite' import createVitePlugins from './vite/plugins' const baseUrl = 'http://localhost:8080' // 后端接口 @@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => { }, // vite 相关配置 server: { - port: 80, + port: 81, host: true, open: true, proxy: {