bug修复
This commit is contained in:
@@ -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";
|
||||
//});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user