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