From 77c9c0f8bc9c3e4e2d086195fb84f7160a16b7ac Mon Sep 17 00:00:00 2001 From: imsyy Date: Fri, 1 Mar 2024 10:34:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E6=94=B9=20api?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- vite.config.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.env b/.env index dec51eb..370881b 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ # 全局 API 地址 # VITE_GLOBAL_API="http://localhost:6688" -VITE_GLOBAL_API="https://api-hot.imsyy.top" +VITE_GLOBAL_API="https://api-hot.efefee.cn" # ICP 备案号 VITE_ICP = "豫ICP备2022018134号-1" diff --git a/vite.config.js b/vite.config.js index 95f7354..a589c6b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -73,6 +73,9 @@ export default defineConfig(({ mode }) => { "@": fileURLToPath(new URL("./src", import.meta.url)), }, }, + server: { + port: 6699, + }, build: { minify: "terser", terserOptions: {