Enable Kestrel config reload in ConfigureWebHostDefaults (#22528)
This commit is contained in:
parent
e929dab496
commit
6c31da5b1f
|
|
@ -217,7 +217,7 @@ namespace Microsoft.AspNetCore
|
||||||
});
|
});
|
||||||
builder.UseKestrel((builderContext, options) =>
|
builder.UseKestrel((builderContext, options) =>
|
||||||
{
|
{
|
||||||
options.Configure(builderContext.Configuration.GetSection("Kestrel"));
|
options.Configure(builderContext.Configuration.GetSection("Kestrel"), reloadOnChange: true);
|
||||||
})
|
})
|
||||||
.ConfigureServices((hostingContext, services) =>
|
.ConfigureServices((hostingContext, services) =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue