Remove unused sercrets.json

This commit is contained in:
Jetsparrow 2024-04-27 14:51:20 +03:00
parent d059867a2e
commit 07edc8d804

View File

@ -33,12 +33,6 @@ try
Args = args,
});
builder.WebHost.ConfigureAppConfiguration((hostingContext, config) =>
{
config.AddJsonFile("secrets.json", optional: true, reloadOnChange: true);
config.AddJsonFile($"secrets.{hostingContext.HostingEnvironment.EnvironmentName}.json", optional: true, reloadOnChange: true);
});
builder.Logging.ClearProviders();
builder.Logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
builder.Host.UseNLog();