Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Helldivers-2-API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@
// Make sure ASP.NET Core uses the correct addresses internally rather than Fly's proxy
app.UseForwardedHeaders();

// Maps Prometheus to /metrics
app.MapMetrics();

// Handles rate limiting so everyone plays nice
app.UseMiddleware<RateLimitMiddleware>();

Expand Down Expand Up @@ -281,7 +284,4 @@
You can also find additional resources on our Github: https://github.com/helldivers-2/api
Consider supporting us at https://github.com/sponsors/dealloc");

// Maps Prometheus to /metrics
app.MapMetrics();

await app.RunAsync();