This commit is contained in:
Ryan Peters 2023-01-11 11:00:38 -05:00
commit e5f1b9e936
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
}
}
}