Update nuget packages
This commit is contained in:
@@ -13,14 +13,14 @@ namespace GerstITS.Examples.Api
|
||||
protected override void ConfigureApplication(IApplicationBuilder applicationBuilder, IWebHostEnvironment webHostEnvironment)
|
||||
{
|
||||
if (webHostEnvironment.IsProduction())
|
||||
applicationBuilder.UseHstsOfServerConfiguration();
|
||||
applicationBuilder.UsePreconfiguredHsts();
|
||||
else
|
||||
applicationBuilder.UseDeveloperExceptionPage()
|
||||
.UseSwagger();
|
||||
|
||||
applicationBuilder.UseCorsOfServerConfiguration()
|
||||
.UseForwardedHeadersOfServerConfiguration()
|
||||
.UseHttpsRedirectionOfServerConfiguration()
|
||||
applicationBuilder.UsePreconfiguredCors()
|
||||
.UsePreconfiguredForwardedHeaders()
|
||||
.UsePreconfiguredHttpsRedirection()
|
||||
.UseAuthentication()
|
||||
.UseAuthorization()
|
||||
.UseRouting()
|
||||
|
||||
Reference in New Issue
Block a user