Remove HTTPS redirect

Without a valid certificates it is only creating problems for the user. HTTPS redirect should be optional and provide a config to enable and reference valid certificates.
This commit is contained in:
Jens Willmer 2021-04-15 11:56:49 +02:00 committed by Sipke Schoorstra
parent 7fcc2ec0d2
commit 769fd71e5a

View file

@ -54,7 +54,6 @@ namespace ElsaDashboard.Samples.AspNetCore.Monolith
app.UseHsts();
}
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseHttpActivities();
app.UseRouting();