Skip to content

Commit 1744662

Browse files
committed
fix(WebAPI): Middleware ordering
1 parent c284796 commit 1744662

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Deeplex.Saverwalter.WebAPI/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ private static WebApplication Configure(WebApplicationBuilder builder, Container
6767
}
6868

6969
app.UseAuthentication();
70-
71-
app.MapControllers();
72-
app.UseRouting();
7370
app.UseAuthorization();
7471

72+
app.MapControllers();
7573
app.UseStaticFiles();
7674
app.MapFallbackToFile("index.html");
7775

0 commit comments

Comments
 (0)