新增 忽略项
This commit is contained in:
parent
99f7601184
commit
16d058d2b9
|
|
@ -365,3 +365,5 @@ FodyWeavers.xsd
|
||||||
|
|
||||||
VideoAnalysis/AICore/_Static/
|
VideoAnalysis/AICore/_Static/
|
||||||
VideoAnalysisCore/AICore/_Static/
|
VideoAnalysisCore/AICore/_Static/
|
||||||
|
VideoAnalysis/WebUI/node_modules/
|
||||||
|
VideoAnalysis/WebUI/dist/
|
||||||
|
|
|
||||||
|
|
@ -55,4 +55,8 @@
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="WebUI\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -137,16 +137,15 @@ namespace Learn.VideoAnalysis
|
||||||
FileProvider = new PhysicalFileProvider(AppCommon.TaskCachedFile),
|
FileProvider = new PhysicalFileProvider(AppCommon.TaskCachedFile),
|
||||||
RequestPath = "/video",
|
RequestPath = "/video",
|
||||||
});
|
});
|
||||||
|
app.UseStaticFiles(new StaticFileOptions
|
||||||
|
{
|
||||||
|
FileProvider = new PhysicalFileProvider(AppCommon.WebUIFile),
|
||||||
|
RequestPath = "/web",
|
||||||
|
});
|
||||||
app.UseAntiforgery();
|
app.UseAntiforgery();
|
||||||
|
|
||||||
app.MapRazorComponents<Learn.VideoAnalysis.Components.App>()
|
|
||||||
.AddInteractiveServerRenderMode();
|
|
||||||
//.AddInteractiveWebAssemblyRenderMode()
|
|
||||||
//.AddAdditionalAssemblies(typeof(VideoAnalysisRazor._Imports).Assembly);
|
|
||||||
|
|
||||||
app.MapControllers();
|
app.MapControllers();
|
||||||
|
|
||||||
|
|
||||||
//自定义 应用
|
//自定义 应用
|
||||||
app.UseCorsExpand();
|
app.UseCorsExpand();
|
||||||
app.UseSqlSugarExpand();
|
app.UseSqlSugarExpand();
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ namespace VideoAnalysisCore.Common
|
||||||
/// 文件下载路径
|
/// 文件下载路径
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string TaskCachedFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TaskCachedFile");
|
public static string TaskCachedFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TaskCachedFile");
|
||||||
|
public static string WebUIFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "WebUIFile");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 模型地址
|
/// 模型地址
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue