mirror of
https://github.com/Jetsparrow/jetherald.git
synced 2026-01-20 23:56:08 +03:00
Remove unused sercrets.json
This commit is contained in:
parent
d059867a2e
commit
07edc8d804
@ -33,12 +33,6 @@ try
|
|||||||
Args = args,
|
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.ClearProviders();
|
||||||
builder.Logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
|
builder.Logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
|
||||||
builder.Host.UseNLog();
|
builder.Host.UseNLog();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user