Skip to content

Commit

Permalink
replace app.UseRouting()
Browse files Browse the repository at this point in the history
  • Loading branch information
boscohyun committed May 24, 2024
1 parent cc1e404 commit b64cce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mimir/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
.AddMimirGraphQLTypes();

var app = builder.Build();
app.UseRouting();
app.MapGet("/", () => "Health Check");
app.MapControllers();
app.MapGraphQL();
Expand All @@ -78,6 +79,5 @@
policy.AllowAnyOrigin();
policy.AllowAnyHeader();
});
app.UseRouting();

app.Run();

0 comments on commit b64cce7

Please sign in to comment.