Reorder routing middleware in All In One bundle project

This commit is contained in:
Sipke Schoorstra 2023-06-08 10:26:37 +02:00
parent 5addf479b7
commit a98b47a62f

View file

@ -64,9 +64,9 @@ if (!app.Environment.IsDevelopment())
app.UseHttpsRedirection();
app.MapHealthChecks("/health");
app.UseRouting();
app.UseCors();
app.UseStaticFiles();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.UseWorkflowsApi();