minor cleanup of startup

This commit is contained in:
Ryan Peters 2023-01-09 16:56:30 -05:00
parent 2caa82b8f4
commit a5c32df806
3 changed files with 2 additions and 10 deletions

View File

@ -4,13 +4,8 @@
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>36e65961-6eee-4cc2-b35e-aafd9f9e6a6f</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>.</DockerfileContext>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.0" />
</ItemGroup>
</Project>

View File

@ -11,12 +11,9 @@ var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Home/Error");
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
app.UseHttpsRedirection();
}
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();

View File

@ -38,7 +38,7 @@
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:2334",
"sslPort": 44381
"sslPort": 0
}
}
}