Revert "Use https redirection on non-debug builds"

This reverts commit dce683a58c.
This commit is contained in:
jvyden 2022-05-20 22:15:20 -04:00
parent dce683a58c
commit 8e2bd1da3d
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 2 additions and 8 deletions

View file

@ -68,10 +68,6 @@ public class ApiStartup
app.UseMiddleware<RequestLogMiddleware>();
#if !DEBUG
app.UseHttpsRedirection();
#endif
app.UseRouting();
app.UseEndpoints(endpoints => endpoints.MapControllers());
}