From a31352b8f51c94da6f541d2508cb0e77c45b6673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Thu, 6 Nov 2025 16:24:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20ui=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VideoAnalysis/Learn.VideoAnalysis.csproj | 3 +++ VideoAnalysis/Properties/launchSettings.json | 2 +- VideoAnalysis/WebUI/.env.production | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/VideoAnalysis/Learn.VideoAnalysis.csproj b/VideoAnalysis/Learn.VideoAnalysis.csproj index eec3070..751985d 100644 --- a/VideoAnalysis/Learn.VideoAnalysis.csproj +++ b/VideoAnalysis/Learn.VideoAnalysis.csproj @@ -49,6 +49,9 @@ + + PreserveNewest + Always diff --git a/VideoAnalysis/Properties/launchSettings.json b/VideoAnalysis/Properties/launchSettings.json index 4b2a454..cc4737e 100644 --- a/VideoAnalysis/Properties/launchSettings.json +++ b/VideoAnalysis/Properties/launchSettings.json @@ -13,7 +13,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "launchUrl": "swagger/index.html", + "launchUrl": "ui/index.html", "applicationUrl": "http://*:5238", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" diff --git a/VideoAnalysis/WebUI/.env.production b/VideoAnalysis/WebUI/.env.production index 46e40f9..f751782 100644 --- a/VideoAnalysis/WebUI/.env.production +++ b/VideoAnalysis/WebUI/.env.production @@ -1,5 +1,5 @@ # 线上环境平台打包路径 -VITE_PUBLIC_PATH = / +VITE_PUBLIC_PATH = /ui/ # 线上环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" @@ -13,4 +13,4 @@ VITE_CDN = false VITE_COMPRESSION = "none" -VITE_API_BASEURL = "https://videoanalysis.w.23544.com:8843/" \ No newline at end of file +VITE_API_BASEURL = "/" \ No newline at end of file