bug修复

This commit is contained in:
2024-06-07 17:30:47 +08:00
parent 3549274b72
commit 51bfc0d99c
56 changed files with 357 additions and 315 deletions

View File

@@ -1,3 +1,5 @@
using System.Text.RegularExpressions;
Serve.Run(RunOptions.Default
.AddWebComponent<WebComponent>().WithArgs(args));
@@ -7,7 +9,6 @@ public class WebComponent : IWebComponent
{
builder.Host.UseWindowsService();
builder.Configuration.AddJsonFile("Location.json", optional: true, reloadOnChange: true);
//// 日志过滤
//builder.Logging.AddFilter((provider, category, logLevel) =>
//{
@@ -24,4 +25,6 @@ public class WebComponent : IWebComponent
// options.DateFormat = "yyyy-MM-dd HH:mm:ss(zzz) dddd";
//});
}
}

View File

@@ -5,8 +5,8 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<SatelliteResourceLanguages>none</SatelliteResourceLanguages>
<ServerGarbageCollection>false</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<!--<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>false</ConcurrentGarbageCollection>-->
</PropertyGroup>
<ItemGroup>